From dd82cae06eaf6a1ca522a567fe49a656405bc19b Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 18 Oct 2008 16:52:55 +0000 Subject: Add priv channels/high-join-limit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10670 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/channels.cpp') 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) { -- cgit v1.2.3