]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_override.cpp
Include untranslated user/channel metadata in CHECK output
[user/henk/code/inspircd.git] / src / modules / m_override.cpp
index f545865b534d6200633992ece8be43b4950ee444..ea5e36d94cb87b32892730da9f276173d6d982d7 100644 (file)
@@ -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)