From 62691675e31d183c0a44425c4594767ad0ba2e0b Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 3 Apr 2008 16:14:34 +0000 Subject: 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 --- src/modules/m_xmlsocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_xmlsocket.cpp') 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) -- cgit v1.2.3