]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_ojoin.cpp
Implement support for configurable casemapping & default to ASCII.
[user/henk/code/inspircd.git] / src / modules / m_ojoin.cpp
index 2573e8b78e93636c53115ca06c43d2d76832fedf..76e66bdc23cbff3d54b128d6253558cce20f42fc 100644 (file)
@@ -34,7 +34,7 @@ class CommandOjoin : public SplitCommand
                : SplitCommand(parent, "OJOIN", 1)
                , npmh(&mode)
        {
-               flags_needed = 'o'; Penalty = 0; syntax = "<channel>";
+               flags_needed = 'o'; syntax = "<channel>";
                active = false;
        }
 
@@ -150,7 +150,7 @@ class ModuleOjoin : public Module
                return MOD_RES_DENY;
        }
 
-       void Prioritize()
+       void Prioritize() CXX11_OVERRIDE
        {
                ServerInstance->Modules->SetPriority(this, I_OnUserPreJoin, PRIORITY_FIRST);
        }