Delete warned var here.
This commit is contained in:
1 parent
76e903bb87
commit
da15ed72e8
1 file changed
+1
@@ -1386,6 +1386,7 @@ sub on_cprivmsg {
|
|||||||
if (exists $PLAYERS{lc $src->{nick}}) {
|
if (exists $PLAYERS{lc $src->{nick}}) {
|
||||||
# Set their spoke variable to current time.
|
# Set their spoke variable to current time.
|
||||||
$SPOKE{lc $src->{nick}} = time;
|
$SPOKE{lc $src->{nick}} = time;
|
||||||
|
if (exists $WARN{lc $src->{nick}}) { delete $WARN{lc $src->{nick}} }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user