diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-11 00:46:41 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-11 00:46:41 +0000 |
commit | fd6ee21f2f55875984884a8413d61012e066029f (patch) | |
tree | ff9feeffe5ddac50d30db1e44656cc9d2dc2e216 /src/modules/m_httpd.cpp | |
parent | 66098d307c036997e51eaea21724615e27fdc3e9 (diff) |
None of the modules use an extern InspIRCd* any more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4863 e03df62e-2008-0410-955e-edbf42e46eb7
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; } |