diff options
Diffstat (limited to 'src/modules/m_knock.cpp')
-rw-r--r-- | src/modules/m_knock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_knock.cpp b/src/modules/m_knock.cpp index bf44bff53..67aa50d49 100644 --- a/src/modules/m_knock.cpp +++ b/src/modules/m_knock.cpp @@ -102,7 +102,7 @@ class ModuleKnock : public Module { kn = new Knock(ServerInstance); - if (!ServerInstance->AddMode(kn, 'K')) + if (!ServerInstance->AddMode(kn)) throw ModuleException("Could not add new modes!"); mycommand = new CommandKnock(ServerInstance); |