Ignore a NOTICE if it's from the server.
This commit is contained in:
1 parent
5c9376524c
commit
795c1da38d
1 file changed
+3
@@ -484,6 +484,9 @@ sub notice
|
|||||||
{
|
{
|
||||||
my ($svr, @ex) = @_;
|
my ($svr, @ex) = @_;
|
||||||
|
|
||||||
|
# Ensure this is coming from a user rather than a server.
|
||||||
|
if ($ex[0] !~ m/!/xsm) { return; }
|
||||||
|
|
||||||
# Prepare all the data.
|
# Prepare all the data.
|
||||||
my %src = API::IRC::usrc(substr $ex[0], 1);
|
my %src = API::IRC::usrc(substr $ex[0], 1);
|
||||||
my $target = $ex[2];
|
my $target = $ex[2];
|
||||||
|
|||||||
Reference in new issue
Block a user