aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_xmlsocket.cpp
diff options
context:
space:
mode:
authorGravatar w00t2008-04-05 18:46:23 +0000
committerGravatar w00t2008-04-05 18:46:23 +0000
commitf251dea6f66a03ddf90286796aba62a434db7816 (patch)
treea734bc559c55766ad0ed63c1215fd38754e042b8 /src/modules/m_xmlsocket.cpp
parentBackport to stable (diff)
Use the right variable through the whole loop, eh? (djGrrr, this should fix your warning)
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9363 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_xmlsocket.cpp')
-rw-r--r--src/modules/m_xmlsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_xmlsocket.cpp b/src/modules/m_xmlsocket.cpp
index 721609097..e9954028c 100644
--- a/src/modules/m_xmlsocket.cpp
+++ b/src/modules/m_xmlsocket.cpp
@@ -61,7 +61,7 @@ class ModuleXMLSocket : public Module
if (ServerInstance->Config->AddIOHook(portno, this))
{
listenports.push_back(portno);
- for (size_t j = 0; i < ServerInstance->Config->ports.size(); i++)
+ for (size_t j = 0; j < ServerInstance->Config->ports.size(); j++)
if (ServerInstance->Config->ports[j]->GetPort() == portno)
ServerInstance->Config->ports[j]->SetDescription("xml");
}