projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f8cf787
)
bit more sophisticated
author
minima
<minima>
Mon, 22 Jan 2007 23:04:29 +0000
(23:04 +0000)
committer
minima
<minima>
Mon, 22 Jan 2007 23:04:29 +0000
(23:04 +0000)
perl/DXProt.pm
patch
|
blob
|
history
diff --git
a/perl/DXProt.pm
b/perl/DXProt.pm
index b46d00f97d95b9de5be22bf5b43c87236302a47c..4b32a7150c35440747ed1d8a0c8e4c8d75f0b356 100644
(file)
--- a/
perl/DXProt.pm
+++ b/
perl/DXProt.pm
@@
-1487,7
+1487,7
@@
sub handle_41
$user = DXUser->new($call) unless $user;
if ($_[2] == 1) {
$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;
}
dbg("PCPROT: invalid name") if isdbg('chanerr');
return;
}