summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElementalAlchemist <ElementAlchemist7@gmail.com>2013-06-20 14:26:22 -0300
committerElementalAlchemist <ElementAlchemist7@gmail.com>2013-06-24 16:52:10 -0400
commit913724d7319bcd6883e3755224ce66b963de4bf4 (patch)
tree1b2d1ab9ea99f3b3609b49e31407a6e52728d989
parent20e521a9eade796b119b5f7e7bde45541149915c (diff)
Prevent m_cgiirc from blocking indefinitely, resulting in registration timeouts on e.g. Mibbit when webirc is not used
-rw-r--r--src/modules/m_cgiirc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp
index d4ef602b3..ccbaaae32 100644
--- a/src/modules/m_cgiirc.cpp
+++ b/src/modules/m_cgiirc.cpp
@@ -207,8 +207,8 @@ class ModuleCgiIRC : public Module
{
bool cached;
CGIResolver* r = new CGIResolver(this, cmd.notify, newip, user, (was_pass ? "PASS" : "IDENT"), cached, waiting);
- ServerInstance->AddResolver(r, cached);
waiting.set(user, waiting.get(user) + 1);
+ ServerInstance->AddResolver(r, cached);
}
catch (...)
{