diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-14 19:54:48 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-14 19:54:48 +0000 |
commit | 186e3840dc0e313bf4bd2f91555a2dc5b7649ef6 (patch) | |
tree | 940a6e2b82a530751b91cbfffcd9e37002a6d709 /modules/core | |
parent | 08deca61eee50077726f8633b92f8d0e49ac17dd (diff) |
- Quarantined/reserved channels may now contain wildcards
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1825 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/core')
-rw-r--r-- | modules/core/m_join.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/core/m_join.c b/modules/core/m_join.c index 7937d0c..c5b21e4 100644 --- a/modules/core/m_join.c +++ b/modules/core/m_join.c @@ -36,6 +36,7 @@ #include "conf.h" #include "parse.h" #include "modules.h" +#include "resv.h" static void do_join_0(struct Client *, struct Client *); @@ -134,7 +135,7 @@ m_join(struct Client *client_p, struct Client *source_p, if (!IsExemptResv(source_p) && !(HasUMode(source_p, UMODE_OPER) && ConfigFileEntry.oper_pass_resv) && - (!(conf = hash_find_resv(chan)) == ConfigChannel.restrict_channels)) + (!(conf = match_find_resv(chan)) == ConfigChannel.restrict_channels)) { if (conf) ++conf->count; |