aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_opermotd.cpp
diff options
context:
space:
mode:
authorGravatar brain2005-12-26 20:25:58 +0000
committerGravatar brain2005-12-26 20:25:58 +0000
commitfa8d93e73fac42c2952e78b0e91bfe9a096ab63d (patch)
tree6fa33a3385a646527aa1602b13ad8c4e6eecc2a3 /src/modules/m_opermotd.cpp
parentMore 'Implements' Conversions (diff)
downloadinspircd++-fa8d93e73fac42c2952e78b0e91bfe9a096ab63d.tar.gz
inspircd++-fa8d93e73fac42c2952e78b0e91bfe9a096ab63d.tar.bz2
inspircd++-fa8d93e73fac42c2952e78b0e91bfe9a096ab63d.zip
Converted to new Implements system
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2663 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_opermotd.cpp')
-rw-r--r--src/modules/m_opermotd.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp
index 7fd19122b..6ea7af048 100644
--- a/src/modules/m_opermotd.cpp
+++ b/src/modules/m_opermotd.cpp
@@ -80,6 +80,11 @@ class ModuleOpermotd : public Module
return Version(1,0,0,1,VF_VENDOR);
}
+ void Implements(char* List)
+ {
+ List[I_OnRehash] = List[I_OnOper] = 1;
+ }
+
virtual void OnOper(userrec* user, std::string opertype)
{
ShowOperMOTD(user);