summaryrefslogtreecommitdiff
path: root/src/modules/m_gecosban.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_gecosban.cpp')
-rw-r--r--src/modules/m_gecosban.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/m_gecosban.cpp b/src/modules/m_gecosban.cpp
index 9d1550b38..42830c660 100644
--- a/src/modules/m_gecosban.cpp
+++ b/src/modules/m_gecosban.cpp
@@ -17,9 +17,9 @@
class ModuleGecosBan : public Module
{
- private:
public:
- ModuleGecosBan() {
+ ModuleGecosBan()
+ {
Implementation eventlist[] = { I_OnCheckBan, I_On005Numeric };
ServerInstance->Modules->Attach(eventlist, this, 2);
}
@@ -49,6 +49,4 @@ class ModuleGecosBan : public Module
}
};
-
MODULE_INIT(ModuleGecosBan)
-