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_blockcaps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_blockcaps.cpp') diff --git a/src/modules/m_blockcaps.cpp b/src/modules/m_blockcaps.cpp index 167a12bec..ec5f901e1 100644 --- a/src/modules/m_blockcaps.cpp +++ b/src/modules/m_blockcaps.cpp @@ -58,7 +58,7 @@ public: { OnRehash(NULL,""); bc = new BlockCaps(ServerInstance); - if (!ServerInstance->AddMode(bc, 'P')) + if (!ServerInstance->AddMode(bc)) throw ModuleException("Could not add new modes!"); } -- cgit v1.2.3