diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-23 20:52:27 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-23 20:52:27 +0000 |
commit | 7240c926c8e9aeacf95c2bd4803c8879963cca3f (patch) | |
tree | f769e1073446ec3e0444016c643c79cf0b08da9b /src/modules/m_cloaking.cpp | |
parent | a85c986c041de4c9a9eb4ad63bc819be3d5425b9 (diff) |
More
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8322 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_cloaking.cpp')
-rw-r--r-- | src/modules/m_cloaking.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index 86f120d20..753c8be4b 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -327,7 +327,7 @@ class ModuleCloaking : public Module cu = new CloakUser(ServerInstance, this, HashModule); /* Register it with the core */ - if (!ServerInstance->AddMode(cu, 'x')) + if (!ServerInstance->AddMode(cu)) throw ModuleException("Could not add new modes!"); OnRehash(NULL,""); |