X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProt.pm;h=5407bb1bd24f96d60affc55ff8975a8b39753cdc;hb=47a7639f2fddb182ea66709877fbe92c8e213d22;hp=a689088a3faf444cfbf07ab3855bbe3138af3f29;hpb=9d5d323e62f989f5a1edc569ed715e6aad3ec072;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index a689088a..5407bb1b 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -1431,7 +1431,7 @@ sub send_local_config # get all the users connected on the above nodes and send them out foreach $n (@localnodes, @remotenodes) { - if ($r) { + 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");