diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-26 18:53:30 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-26 18:53:30 +0000 |
commit | 6985fb2b69872dd641f9f48ffae1c0ac4f185a2d (patch) | |
tree | 5fb883a87076eacf2b07eb88865f07347dfb47dc | |
parent | 47c39f64a962d1875092b4ea31b16d93a1662734 (diff) |
More 'Implements' Conversions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2662 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_nokicks.cpp | 5 | ||||
-rw-r--r-- | src/modules/m_nonicks.cpp | 5 | ||||
-rw-r--r-- | src/modules/m_nonotice.cpp | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/src/modules/m_nokicks.cpp b/src/modules/m_nokicks.cpp index 6c164f03a..a416c0598 100644 --- a/src/modules/m_nokicks.cpp +++ b/src/modules/m_nokicks.cpp @@ -37,6 +37,11 @@ class ModuleNoKicks : public Module Srv->AddExtendedMode('Q',MT_CHANNEL,false,0,0); } + void Implements(char* List) + { + List[I_On005Numeric] = List[I_OnAccessCheck] = List[I_OnExtendedMode] = 1; + } + virtual void On005Numeric(std::string &output) { std::stringstream line(output); diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp index c2b18b49b..f14114857 100644 --- a/src/modules/m_nonicks.cpp +++ b/src/modules/m_nonicks.cpp @@ -48,6 +48,11 @@ class ModuleNoNickChange : public Module return Version(1,0,0,1,VF_STATIC|VF_VENDOR); } + void Implements(char* List) + { + List[I_On005Numeric] = List[I_OnUserPreNick] = List[I_OnExtendedMode] = 1; + } + virtual void On005Numeric(std::string &output) { std::stringstream line(output); 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) { |