From 1e60a6639e4cff2f1b022c8973e164636f3857f2 Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 16 Feb 2010 14:20:55 +0000 Subject: Incrementing the counter in a loop is useful to prevent it being an infinite loop git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12474 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_dnsbl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp index eb3ff976d..5b925d26d 100644 --- a/src/modules/m_dnsbl.cpp +++ b/src/modules/m_dnsbl.cpp @@ -371,6 +371,7 @@ class ModuleDNSBL : public Module bool cached; DNSBLResolver *r = new DNSBLResolver(this, nameExt, countExt, hostname, user, DNSBLConfEntries[i], cached); ServerInstance->AddResolver(r, cached); + i++; } countExt.set(user, i); } -- cgit v1.2.3