fix chat
authorminima <minima>
Tue, 23 Jan 2007 22:50:33 +0000 (22:50 +0000)
committerminima <minima>
Tue, 23 Jan 2007 22:50:33 +0000 (22:50 +0000)
cmd/chat.pl

index 80cb12664e49e361e19a4667b694601860d4eae7..874f6ac1c869aa5058343028ece2030c114282f9 100644 (file)
@@ -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');