Fixed parsing of host masks with / in them. (I'm looking at you, freenode.)
This commit is contained in:
1 parent
31428c8089
commit
1bcc849083
2 files changed
+3
-1
No files matched your search
+2
-1
@@ -216,9 +216,10 @@ sub match_mask {
|
||||
$mh =~ s/\./\\\./gxsm;
|
||||
$mh =~ s/\?/\./gxsm;
|
||||
$mh =~ s/\*/\.\*/gxsm;
|
||||
$mh =~ s/\//\\\//gxsm;
|
||||
$mh = q{^}.$mh.q{$};
|
||||
|
||||
# Let's grep the user's mask.
|
||||
# Let's match the user's mask.
|
||||
if ($mu =~ m/$mh/xsm) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user