summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-11-30 14:00:15 -0500
committerAdam <Adam@anope.org>2010-12-12 19:37:03 -0500
commitc41c82857464c34c61e6f2cf1939cea866f7d49a (patch)
tree6d280171f4feb19012b06e9445f424ad6b0bc994 /include
parent5fe41fb8a056efd14ecdb1079813b23d83821193 (diff)
Do not use wildcard matching when looking up hosts on access add/del
Diffstat (limited to 'include')
-rw-r--r--include/regchannel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/regchannel.h b/include/regchannel.h
index 71deb1ce7..b051af81a 100644
--- a/include/regchannel.h
+++ b/include/regchannel.h
@@ -175,11 +175,12 @@ class CoreExport ChannelInfo : public Extensible, public Flags<ChannelInfoFlag,
*
* @param u The mask to find within the access list vector
* @param level Optional channel access level to compare the access entries to
+ * @param wildcard True to match using wildcards
* @return A ChanAccess struct corresponding to the mask, or NULL if not found
*
* Retrieves an entry from the access list that matches the given mask, optionally also matching a certain level.
*/
- ChanAccess *GetAccess(const Anope::string &mask, int16 level = 0);
+ ChanAccess *GetAccess(const Anope::string &mask, int16 level = 0, bool wildcard = true);
/** Get the size of the accss vector for this channel
* @return The access vector size