diff --git a/lib/Parser/IRC.pm b/lib/Parser/IRC.pm index 7792541..a07ff61 100644 --- a/lib/Parser/IRC.pm +++ b/lib/Parser/IRC.pm @@ -484,6 +484,9 @@ sub notice { my ($svr, @ex) = @_; + # Ensure this is coming from a user rather than a server. + if ($ex[0] !~ m/!/xsm) { return; } + # Prepare all the data. my %src = API::IRC::usrc(substr $ex[0], 1); my $target = $ex[2];