summaryrefslogtreecommitdiff
path: root/src/modules/m_nonotice.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 18:53:30 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 18:53:30 +0000
commit6985fb2b69872dd641f9f48ffae1c0ac4f185a2d (patch)
tree5fb883a87076eacf2b07eb88865f07347dfb47dc /src/modules/m_nonotice.cpp
parent47c39f64a962d1875092b4ea31b16d93a1662734 (diff)
More 'Implements' Conversions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2662 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_nonotice.cpp')
-rw-r--r--src/modules/m_nonotice.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp
index ceb659985..a9b8d4fb3 100644
--- a/src/modules/m_nonotice.cpp
+++ b/src/modules/m_nonotice.cpp
@@ -35,6 +35,11 @@ class ModuleNoNotice : public Module
Srv = Me;
Srv->AddExtendedMode('T',MT_CHANNEL,false,0,0);
}
+
+ void Implements(char* List)
+ {
+ List[I_OnUserPreNotice] = List[I_On005Numeric] = List[I_OnExtendedMode] = 1;
+ }
virtual int OnUserPreNotice(userrec* user,void* dest,int target_type, std::string &text)
{