summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-27 10:38:26 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-27 10:38:26 +0000
commit2fdbd6812179abd009a219bbf72380cc823456e2 (patch)
tree6a4164fc4412839061ce9c7174f24cbc9c1b528b
parent1c4e1d10d0ead671f138b36d98574ddff1baa12f (diff)
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
-rw-r--r--src/modules/m_override.cpp8
1 files 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)