X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fchat.pl;h=80cb12664e49e361e19a4667b694601860d4eae7;hb=0c1082247c57a0ec2fa35a0a81af54b1e6ac2b89;hp=41cbb5caba4b9cde16abe870507f83e6fc310460;hpb=38e5ac5a541f1bdf1f373d59cc3dcd0c993ae800;p=spider.git diff --git a/cmd/chat.pl b/cmd/chat.pl index 41cbb5ca..80cb1266 100644 --- a/cmd/chat.pl +++ b/cmd/chat.pl @@ -38,6 +38,8 @@ if (@bad = BadWords::check($line)) { my $msgid = DXProt::nextchatmsgid(); $text = "#$msgid $text"; -DXProt::send_chat($self, DXProt::pc12($from, $text, '*', $target), $from, '*', $text, $target, $main::mycall, '0'); +$main::me->normal(DXProt::pc93($to, $from, undef, $text)); + +#DXProt:):send_chat($self, 1, DXProt::pc12($from, $text, '*', $target), $from, '*', $text, $target, $main::mycall, '0'); return (1, ());