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_helpop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_helpop.cpp') diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index 1ca9e0b5e..a5430d7da 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -115,7 +115,7 @@ class ModuleHelpop : public Module { ReadConfig(); ho = new Helpop(ServerInstance); - if (!ServerInstance->AddMode(ho, 'h')) + if (!ServerInstance->AddMode(ho)) throw ModuleException("Could not add new modes!"); mycommand = new CommandHelpop(ServerInstance); ServerInstance->AddCommand(mycommand); -- cgit v1.2.3