/* Users who are opers and have +Q get their +Q removed when they deoper */
if ((!adding) && (dest->IsModeSet('Q')))
@@ -159,7+159,7 @@ class ModuleInvisible : public Module
{
conf = new ConfigReader(ServerInstance);
qm = new InvisibleMode(ServerInstance);
- if (!ServerInstance->AddMode(qm, 'Q'))
+ if (!ServerInstance->AddMode(qm))
throw ModuleException("Could not add new modes!");
ido = new InvisibleDeOper(ServerInstance);
if (!ServerInstance->AddModeWatcher(ido))
@@ -167,15+167,17 @@ class ModuleInvisible : public Module
/* Yeah i know people can take this out. I'm not about to obfuscate code just to be a pain in the ass. */
ServerInstance->ServerNoticeAll("*** m_invisible.so has just been loaded on this network. For more information, please visit http://inspircd.org/wiki/Modules/invisible");