more bandaids
[spider.git] / perl / DXProt.pm
index 875d2b6694314691dd9b219ae03401227870bfdd..a689088a3faf444cfbf07ab3855bbe3138af3f29 100644 (file)
@@ -1431,7 +1431,11 @@ sub send_local_config
        
        # get all the users connected on the above nodes and send them out
        foreach $n (@localnodes, @remotenodes) {
-               send_route($self, \&pc16, 1, $n, map {my $r = Route::User::get($_); $r ? ($r) : ()} $n->users);
+               if ($r) {
+                       send_route($self, \&pc16, 1, $n, map {my $r = Route::User::get($_); $r ? ($r) : ()} $n->users);
+               } else {
+                       dbg('chan', "sent a null value");
+               }
        }
 }