summaryrefslogtreecommitdiff
path: root/src/modules/m_rpctest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_rpctest.cpp')
-rw-r--r--src/modules/m_rpctest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_rpctest.cpp b/src/modules/m_rpctest.cpp
index 1d3f2a71e..eef3f3939 100644
--- a/src/modules/m_rpctest.cpp
+++ b/src/modules/m_rpctest.cpp
@@ -27,6 +27,8 @@ class ModuleRPCTest : public Module
public:
ModuleRPCTest(InspIRCd *Me) : Module(Me)
{
+ Implementation eventlist[] = { I_OnEvent };
+ ServerInstance->Modules->Attach(eventlist, this, 1);
}
virtual ~ModuleRPCTest()