diff options
author | Adam <Adam@anope.org> | 2010-11-30 14:00:15 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-12-12 19:37:03 -0500 |
commit | c41c82857464c34c61e6f2cf1939cea866f7d49a (patch) | |
tree | 6d280171f4feb19012b06e9445f424ad6b0bc994 /modules/core/cs_xop.cpp | |
parent | 5fe41fb8a056efd14ecdb1079813b23d83821193 (diff) |
Do not use wildcard matching when looking up hosts on access add/del
Diffstat (limited to 'modules/core/cs_xop.cpp')
-rw-r--r-- | modules/core/cs_xop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/cs_xop.cpp b/modules/core/cs_xop.cpp index f883d1baa..1d1ec7c84 100644 --- a/modules/core/cs_xop.cpp +++ b/modules/core/cs_xop.cpp @@ -227,7 +227,7 @@ class XOPBase : public Command return MOD_CONT; } - access = ci->GetAccess(mask); + access = ci->GetAccess(mask, 0, false); if (access) { /** @@ -307,7 +307,7 @@ class XOPBase : public Command return MOD_CONT; } - access = ci->GetAccess(mask); + access = ci->GetAccess(mask, 0, false); /* Special case: is it a number/list? Only do search if it isn't. */ if (isdigit(mask[0]) && mask.find_first_not_of("1234567890,-") == Anope::string::npos) |