diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-18 16:52:55 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-18 16:52:55 +0000 |
commit | dd82cae06eaf6a1ca522a567fe49a656405bc19b (patch) | |
tree | be234089ba88554ebe10d9c1ea446451b2715a54 /src | |
parent | 63693d848328c335c5ddc7c51300d2fda0f4d140 (diff) |
Add priv channels/high-join-limit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10670 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/channels.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index 17c7749ea..7374f091e 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -276,7 +276,7 @@ Channel* Channel::JoinUser(InspIRCd* Instance, User *user, const char* cn, bool } else { - if (IS_OPER(user)) + if (user->HasPrivPermission("channels/high-join-limit")) { if (user->chans.size() >= Instance->Config->OperMaxChans) { |