summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2013-06-24 13:53:58 -0700
committerAttila Molnar <attilamolnar@hush.com>2013-06-24 13:53:58 -0700
commit71d64de8f0b77d0025a7a48f72d1b63d96fb4bdc (patch)
tree1b2d1ab9ea99f3b3609b49e31407a6e52728d989 /src
parent20e521a9eade796b119b5f7e7bde45541149915c (diff)
parent913724d7319bcd6883e3755224ce66b963de4bf4 (diff)
Merge pull request #563 from ElementalAlchemist/patch-1
Prevent m_cgiirc from blocking indefinitely
Diffstat (limited to 'src')
-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 (...)
{