summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/modules/m_nokicks.cpp5
-rw-r--r--src/modules/m_nonicks.cpp5
-rw-r--r--src/modules/m_nonotice.cpp5
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)
{