diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-03 16:14:34 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-03 16:14:34 +0000 |
commit | 62691675e31d183c0a44425c4594767ad0ba2e0b (patch) | |
tree | 3789b8f22c25907df7505d75ee68cbf361412dd5 /src/modules | |
parent | 3079075ad62820fd6661c0368970178d71bbfe98 (diff) |
Patch to fix this module from flagging all client sockets as xml
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9288 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_xmlsocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_xmlsocket.cpp b/src/modules/m_xmlsocket.cpp index 821a8363b..ea8485172 100644 --- a/src/modules/m_xmlsocket.cpp +++ b/src/modules/m_xmlsocket.cpp @@ -66,7 +66,7 @@ class ModuleXMLSocket : public Module { listenports.push_back(addr + ":" + ConvToStr(portno)); for (size_t j = 0; j < ServerInstance->Config->ports.size(); j++) - if ((ServerInstance->Config->ports[i]->GetPort() == portno) && (ServerInstance->Config->ports[i]->GetIP() == addr)) + if ((ServerInstance->Config->ports[j]->GetPort() == portno) && (ServerInstance->Config->ports[j]->GetIP() == addr)) ServerInstance->Config->ports[j]->SetDescription("xml"); } catch (ModuleException &e) |