diff options
Diffstat (limited to 'src/modules')
-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) { |