summaryrefslogtreecommitdiff
path: root/src/modules/m_restrictchans.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_restrictchans.cpp')
-rw-r--r--src/modules/m_restrictchans.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp
index a2f117616..91ad43bc2 100644
--- a/src/modules/m_restrictchans.cpp
+++ b/src/modules/m_restrictchans.cpp
@@ -41,7 +41,7 @@ class ModuleRestrictChans : public Module
}
public:
- ModuleRestrictChans()
+ void init()
{
ReadConfig();
Implementation eventlist[] = { I_OnUserPreJoin, I_OnRehash };