diff --git a/PBot/AntiFlood.pm b/PBot/AntiFlood.pm index e1705eec..f78e5f15 100644 --- a/PBot/AntiFlood.pm +++ b/PBot/AntiFlood.pm @@ -490,6 +490,8 @@ sub address_to_mask { } } elsif($address =~ m/[^.]+\.([^.]+\.[^.]+)$/) { $banmask = "*.$1"; + } elsif($address =~ m{^gateway/([^/]+)/([^/]+)/}) { + $banmask = "gateway/$1/$2/*"; } else { $banmask = $address; } diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index 30b63caf..f81ac083 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -13,8 +13,8 @@ use warnings; # These are set automatically by the build/commit script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 777, - BUILD_DATE => "2014-08-13", + BUILD_REVISION => 778, + BUILD_DATE => "2014-08-18", }; 1;