]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_httpd.cpp
Some more to fix still, modules probably wont load correctly atm
[user/henk/code/inspircd.git] / src / modules / m_httpd.cpp
index bb6c6d7865d716368cc7f6819731f0d2a1bddc60..5d8d1f764c6cd2499b0f790ad1545706489fa79a 100644 (file)
@@ -474,6 +474,8 @@ class ModuleHttpServer : public Module
        {
                ReadConfig();
                HttpModule = this;
+               Implementation eventlist[] = { I_OnRequest };
+               ServerInstance->Modules->Attach(eventlist, this, 1);
        }
 
        char* OnRequest(Request* request)