add node to call in tell_login and tell_buddies.
[spider.git] / perl / DXChannel.pm
index 9812037fce2ee1fa44255555fe6e63c09957c0d3..45e8d39b9904a3fd87374f4cc742558b39b1de24 100644 (file)
@@ -523,7 +523,7 @@ sub tell_buddies
        foreach $dxchan (@dxchan) {
                next if $dxchan == $self;
                next if $dxchan->{call} eq $main::mycall;
-               $dxchan->send($dxchan->msg($m, $call)) if grep $_ eq $call, @{$dxchan->user->buddies} ;
+               $dxchan->send($dxchan->msg($m, $call)) if grep $_ eq $call, @{$dxchan->{user}->{buddies}} ;
        }
 }