X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=d0f9bb6531cf25bfffe6627e1cfc5f64807c1d69;hb=f208d56126fc1804fc3adb80a0e3ac7356e37d8d;hp=c4d2b1478943f4506af037ecca5fb57127d1fcee;hpb=76027e074b381b0cdc76b3c23ac751802ee174fe;p=spider.git diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index c4d2b147..d0f9bb65 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -598,7 +598,7 @@ sub run_cmd if ($ok) { delete $self->{errors}; } else { - if (++$self->{errors} > $DXChannel::maxerrors) { + if ($self != $main::me && ++$self->{errors} > $DXChannel::maxerrors) { $self->send($self->msg('e26')); $self->disconnect; return ();