From 0e7fabc4b1dc907dfe9be70d5cf03be3ec03f5aa Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 23 Oct 2007 20:47:06 +0000 Subject: Some AddMode fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8320 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_banexception.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_banexception.cpp') diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp index 4c0e93dea..8bd53d62d 100644 --- a/src/modules/m_banexception.cpp +++ b/src/modules/m_banexception.cpp @@ -46,7 +46,7 @@ public: : Module(Me) { be = new BanException(ServerInstance); - if (!ServerInstance->AddMode(be, 'e')) + if (!ServerInstance->AddMode(be)) throw ModuleException("Could not add new modes!"); ServerInstance->Modules->PublishInterface("ChannelBanList", this); } -- cgit v1.3.1-10-gc9f91