From 6222cb47ccc7a8eb7e24efe2c96e51deaccabac5 Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 7 Aug 2008 16:04:43 +0000 Subject: Use correct char in exemption.. could lead to chanops being exempted incorrectly from noinvite git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10117 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_noinvite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_noinvite.cpp b/src/modules/m_noinvite.cpp index 53e5ca84f..f3ded767e 100644 --- a/src/modules/m_noinvite.cpp +++ b/src/modules/m_noinvite.cpp @@ -44,7 +44,7 @@ class ModuleNoInvite : public Module { if (IS_LOCAL(user)) { - if (CHANOPS_EXEMPT(ServerInstance, 'c') && channel->GetStatus(user) == STATUS_OP) + if (CHANOPS_EXEMPT(ServerInstance, 'V') && channel->GetStatus(user) == STATUS_OP) { return 0; } -- cgit v1.2.3