summaryrefslogtreecommitdiff
path: root/src/modules/m_opermotd.cpp
diff options
context:
space:
mode:
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);