diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-08 21:41:57 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-08 21:41:57 +0000 |
commit | 5246737b1630e2b39eecf2c2b78094e9ca4ba372 (patch) | |
tree | c00107d495e23eb2a6243b5735f752ca4fa0b9fe /src/modules | |
parent | bc34197205699f7a255b36e8905312b85b164ccd (diff) |
Decraq
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6919 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_xmlsocket.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/modules/m_xmlsocket.cpp b/src/modules/m_xmlsocket.cpp index 84f79e270..09ffe6ca9 100644 --- a/src/modules/m_xmlsocket.cpp +++ b/src/modules/m_xmlsocket.cpp @@ -16,27 +16,20 @@ #include "users.h" #include "channels.h" #include "modules.h" - #include "hashcomp.h" #include "inspircd.h" /* $ModDesc: Provides XMLSocket support for clients */ - class ModuleXMLSocket : public Module { - ConfigReader* Conf; - std::vector<int> listenports; - int clientactive; public: - InspIRCd* PublicInstance; - ModuleXMLSocket(InspIRCd* Me) - : Module::Module(Me), PublicInstance(Me) + : Module::Module(Me) { OnRehash(NULL,""); } @@ -52,7 +45,6 @@ class ModuleXMLSocket : public Module } listenports.clear(); - clientactive = 0; for (int i = 0; i < Conf->Enumerate("bind"); i++) { @@ -65,7 +57,6 @@ class ModuleXMLSocket : public Module long portno = -1; while ((portno = portrange.GetToken())) { - clientactive++; try { if (ServerInstance->Config->AddIOHook(portno, this)) |