X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fchat.pl;h=f4ae651f8d21ffc28731abf10aa4a0cff8978b06;hb=8e14149148baba63ce5ae2b95aacda8ab6dd0d87;hp=6b01d20675b557432d161cb4cf9c3ed8e62d59bb;hpb=96f67f30b496aafcb4276f9fe9cf0fa9f572318b;p=spider.git diff --git a/cmd/show/chat.pl b/cmd/show/chat.pl index 6b01d206..f4ae651f 100644 --- a/cmd/show/chat.pl +++ b/cmd/show/chat.pl @@ -37,7 +37,7 @@ while ($f = shift @f) { # next field $to = 20 unless $to; $from = 0 unless $from; -if ($self->{_nospawn}) { +if ($self->{_nospawn} || $main::is_win == 1) { @out = DXLog::print($from, $to, $main::systime, 'chat', $who); } else { @out = $self->spawn_cmd("show/chat $cmdline", \&DXLog::print, args => [$from, $to, $main::systime, 'chat', $who]);