sigh
[spider.git] / perl / DXProt.pm
index 875d2b6694314691dd9b219ae03401227870bfdd..5407bb1bd24f96d60affc55ff8975a8b39753cdc 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 ($n) {
+                       send_route($self, \&pc16, 1, $n, map {my $r = Route::User::get($_); $r ? ($r) : ()} $n->users);
+               } else {
+                       dbg('chan', "sent a null value");
+               }
        }
 }