From 7ce1303cab4b56478b209f95c7958eea61a5d083 Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 6 Mar 2009 10:04:50 +0000 Subject: Fix number of events in noctcp, so 'C' is shown in EXTBAN= 005 token, fixes bug #758 reported by Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11177 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_noctcp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp index 4bbd61f5d..d431a7369 100644 --- a/src/modules/m_noctcp.cpp +++ b/src/modules/m_noctcp.cpp @@ -58,7 +58,7 @@ class ModuleNoCTCP : public Module if (!ServerInstance->Modes->AddMode(nc)) throw ModuleException("Could not add new modes!"); Implementation eventlist[] = { I_OnUserPreMessage, I_OnUserPreNotice, I_On005Numeric }; - ServerInstance->Modules->Attach(eventlist, this, 2); + ServerInstance->Modules->Attach(eventlist, this, 3); } virtual ~ModuleNoCTCP() -- cgit v1.2.3