X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=42c80b533e63bc737c0d6e56caeedfbdf8590a45;hb=e07645cec07ba739a20cc009d7dd138c962b66eb;hp=270183bffd5058f7916aa19bc0c1a7d861243c24;hpb=90a05bee744c82d66ffdd0a0548b2ae97d7dfb56;p=spider.git diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index 270183bf..42c80b53 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -810,15 +810,15 @@ sub chat my $self = shift; my $line = shift; my $isolate = shift; - my $to = shift; my $target = shift; + my $to = shift; my $text = shift; my ($filter, $hops); - return unless grep uc $_ eq $to, @{$self->{user}->{group}}; + return unless grep uc $_ eq $target, @{$self->{user}->{group}}; $text =~ s/^\#\d+ //; - my $buf = "$to de $_[0]: $text"; + my $buf = "$target de $_[0]: $text"; $buf =~ s/\%5E/^/g; $buf .= "\a\a" if $self->{beep}; $self->local_send('C', $buf);