diff options
Diffstat (limited to 'src/modules/m_opermotd.cpp')
-rw-r--r-- | src/modules/m_opermotd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp index fbc72aeea..86d928cb7 100644 --- a/src/modules/m_opermotd.cpp +++ b/src/modules/m_opermotd.cpp @@ -83,6 +83,8 @@ class ModuleOpermotd : public Module ServerInstance->AddCommand(mycommand); opermotd = new FileReader(ServerInstance); LoadOperMOTD(); + Implementation eventlist[] = { I_OnRehash, I_OnOper }; + ServerInstance->Modules->Attach(eventlist, this, 2); } virtual ~ModuleOpermotd() |