summaryrefslogtreecommitdiff
path: root/src/modules/m_muteban.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_muteban.cpp')
-rw-r--r--src/modules/m_muteban.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_muteban.cpp b/src/modules/m_muteban.cpp
index 03e3d646e..c486a5868 100644
--- a/src/modules/m_muteban.cpp
+++ b/src/modules/m_muteban.cpp
@@ -26,7 +26,8 @@ class ModuleQuietBan : public Module
{
private:
public:
- ModuleQuietBan() {
+ void init()
+ {
Implementation eventlist[] = { I_OnUserPreMessage, I_OnUserPreNotice, I_On005Numeric };
ServerInstance->Modules->Attach(eventlist, this, 3);
}