]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_rpc_json.cpp
Fix these to use new hook system (u_listmode wasnt fixed yet)
[user/henk/code/inspircd.git] / src / modules / m_rpc_json.cpp
index b12de08913de70a528e8258966445aaf06e7a5f5..8ef0d53a02265ee9ec30c0e084eb01b064f25994 100644 (file)
@@ -48,6 +48,8 @@ class ModuleRpcJson : public Module
        ModuleRpcJson(InspIRCd *Me) : Module(Me)
        {
                ServerInstance->Modules->PublishInterface("RPC", this);
+               Implementation eventlist[] = { I_OnEvent };
+               ServerInstance->Modules->Attach(eventlist, this, 1);
        }
        
        virtual ~ModuleRpcJson()