diff options
Diffstat (limited to 'src/modules/m_restrictbanned.cpp')
-rw-r--r-- | src/modules/m_restrictbanned.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_restrictbanned.cpp b/src/modules/m_restrictbanned.cpp index a5a5ab1ae..855e7cc9b 100644 --- a/src/modules/m_restrictbanned.cpp +++ b/src/modules/m_restrictbanned.cpp @@ -21,6 +21,8 @@ class ModuleRestrictBanned : public Module public: ModuleRestrictBanned(InspIRCd* Me) : Module(Me) { + Implementation eventlist[] = { I_OnLocalTopicChange, I_OnUserPreNick, I_OnUserPreNotice, I_OnUserPreMessage }; + ServerInstance->Modules->Attach(eventlist, this, 4); } virtual ~ModuleRestrictBanned() |