From 2fdbd6812179abd009a219bbf72380cc823456e2 Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 27 Aug 2009 10:38:26 +0000 Subject: override: pass handling back to the core to send numerics if join restrictions apply. Thanks to webczat for (eventually) being able to communicate what the problem was. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11540 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_override.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp index f545865b5..ea5e36d94 100644 --- a/src/modules/m_override.cpp +++ b/src/modules/m_override.cpp @@ -244,7 +244,7 @@ class ModuleOverride : public Module { // Can't join normally -- must use a special key to bypass restrictions user->WriteServ("NOTICE %s :*** You may not join normally. You must join with a key of 'override' to oper override.", user->nick.c_str()); - return 1; + return 0; } if (NoisyOverride) @@ -260,7 +260,7 @@ class ModuleOverride : public Module { // Can't join normally -- must use a special key to bypass restrictions user->WriteServ("NOTICE %s :*** You may not join normally. You must join with a key of 'override' to oper override.", user->nick.c_str()); - return 1; + return 0; } if (NoisyOverride) @@ -275,7 +275,7 @@ class ModuleOverride : public Module { // Can't join normally -- must use a special key to bypass restrictions user->WriteServ("NOTICE %s :*** You may not join normally. You must join with a key of 'override' to oper override.", user->nick.c_str()); - return 1; + return 0; } if (NoisyOverride) @@ -290,7 +290,7 @@ class ModuleOverride : public Module { // Can't join normally -- must use a special key to bypass restrictions user->WriteServ("NOTICE %s :*** You may not join normally. You must join with a key of 'override' to oper override.", user->nick.c_str()); - return 1; + return 0; } if (NoisyOverride) -- cgit v1.2.3