From 7240c926c8e9aeacf95c2bd4803c8879963cca3f Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 23 Oct 2007 20:52:27 +0000 Subject: More git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8322 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_hidechans.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_hidechans.cpp') diff --git a/src/modules/m_hidechans.cpp b/src/modules/m_hidechans.cpp index 2637968a9..42614e937 100644 --- a/src/modules/m_hidechans.cpp +++ b/src/modules/m_hidechans.cpp @@ -59,7 +59,7 @@ class ModuleHideChans : public Module { hm = new HideChans(ServerInstance); - if (!ServerInstance->AddMode(hm, 'I')) + if (!ServerInstance->AddMode(hm)) throw ModuleException("Could not add new modes!"); } -- cgit v1.2.3