From: minima Date: Mon, 22 Jan 2007 23:04:29 +0000 (+0000) Subject: bit more sophisticated X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=ffa42f75b95492bd0223599adc9287ace057bf38;p=spider.git bit more sophisticated --- diff --git a/perl/DXProt.pm b/perl/DXProt.pm index b46d00f9..4b32a715 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -1487,7 +1487,7 @@ sub handle_41 $user = DXUser->new($call) unless $user; if ($_[2] == 1) { - if ($_[2] =~ /spotter/i) { + if (($_[3] =~ /spotter/i || $_[3] =~ /self/i) && $user->name && $user->name ne $_[3]) { dbg("PCPROT: invalid name") if isdbg('chanerr'); return; }