From: minima Date: Tue, 23 Jan 2007 22:50:33 +0000 (+0000) Subject: fix chat X-Git-Tag: 1.54~9 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=e788d90520036ffa8998db5d1cbad40c10ed977a;p=spider.git fix chat --- diff --git a/cmd/chat.pl b/cmd/chat.pl index 80cb1266..874f6ac1 100644 --- a/cmd/chat.pl +++ b/cmd/chat.pl @@ -38,7 +38,7 @@ if (@bad = BadWords::check($line)) { my $msgid = DXProt::nextchatmsgid(); $text = "#$msgid $text"; -$main::me->normal(DXProt::pc93($to, $from, undef, $text)); +$main::me->normal(DXProt::pc93($target, $from, undef, $text)); #DXProt:):send_chat($self, 1, DXProt::pc12($from, $text, '*', $target), $from, '*', $text, $target, $main::mycall, '0');