diff options
Diffstat (limited to 'src/modules/m_dccallow.cpp')
-rw-r--r-- | src/modules/m_dccallow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 2b67654cc..e1fe7143b 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -255,6 +255,8 @@ class ModuleDCCAllow : public Module mycommand = new CommandDccallow(ServerInstance); ServerInstance->AddCommand(mycommand); ReadFileConf(); + Implementation eventlist[] = { I_OnUserPreMessage, I_OnUserPreNotice, I_OnUserQuit, I_OnUserPreNick, I_OnRehash }; + ServerInstance->Modules->Attach(eventlist, this, 5); } void Implements(char* List) |