summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-06 10:04:50 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-06 10:04:50 +0000
commit7ce1303cab4b56478b209f95c7958eea61a5d083 (patch)
treefadbce57c3714919b306774ab1462ea17c8ccaf8 /src
parentf9336c57cc2df59b07203b852d68b7bc5aa6daba (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_noctcp.cpp2
1 files changed, 1 insertions, 1 deletions
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()