summaryrefslogtreecommitdiff
path: root/src/modules/m_httpd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_httpd.cpp')
-rw-r--r--src/modules/m_httpd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp
index 8cc142f11..dee0a9d48 100644
--- a/src/modules/m_httpd.cpp
+++ b/src/modules/m_httpd.cpp
@@ -336,7 +336,8 @@ class ModuleHttpServer : public Module
std::vector<HttpServerSocket *> httpsocks;
public:
- ModuleHttpServer() {
+ void init()
+ {
HttpModule = this;
ServerInstance->Modules->Attach(I_OnAcceptConnection, this);
}