diff options
Diffstat (limited to 'src/modules/m_httpd.cpp')
-rw-r--r-- | src/modules/m_httpd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp index 4699d0696..f8178ed3a 100644 --- a/src/modules/m_httpd.cpp +++ b/src/modules/m_httpd.cpp @@ -29,7 +29,7 @@ using namespace std; class ModuleHttp; -extern InspIRCd* ServerInstance; + static ModuleHttp* HttpModule; extern time_t TIME; @@ -66,7 +66,7 @@ class HttpSocket : public InspSocket if (InternalState == HTTP_LISTEN) { HttpSocket* s = new HttpSocket(this->Instance, newsock, ip, index); - ServerInstance->AddSocket(s); + this->Instance->AddSocket(s); } return true; } |