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_nonotice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_nonotice.cpp') diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp index 314a7c8fe..ecff94532 100644 --- a/src/modules/m_nonotice.cpp +++ b/src/modules/m_nonotice.cpp @@ -54,7 +54,7 @@ class ModuleNoNotice : public Module { nt = new NoNotice(ServerInstance); - if (!ServerInstance->AddMode(nt, 'T')) + if (!ServerInstance->AddMode(nt)) throw ModuleException("Could not add new modes!"); } -- cgit v1.2.3