diff options
author | ElementalAlchemist <ElementAlchemist7@gmail.com> | 2013-06-20 14:26:22 -0300 |
---|---|---|
committer | ElementalAlchemist <ElementAlchemist7@gmail.com> | 2013-06-24 16:52:10 -0400 |
commit | 913724d7319bcd6883e3755224ce66b963de4bf4 (patch) | |
tree | 1b2d1ab9ea99f3b3609b49e31407a6e52728d989 /src/modules/m_cgiirc.cpp | |
parent | 20e521a9eade796b119b5f7e7bde45541149915c (diff) |
Prevent m_cgiirc from blocking indefinitely, resulting in registration timeouts on e.g. Mibbit when webirc is not used
Diffstat (limited to 'src/modules/m_cgiirc.cpp')
-rw-r--r-- | src/modules/m_cgiirc.cpp | 2 |
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 (...) { |