summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-20 00:12:53 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-20 00:12:53 +0000
commit6b453db541c7a1a168dc22f26de3823d97e2e322 (patch)
tree0a95349af05c327e7420d000ff36deab72fa8820 /src
parentfc8b284c2a3fcd3882c8d6c1eec4bd99f3e4c628 (diff)
Fix for bug #393, needs QA and backport
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7765 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/socketengine_select.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/socketengine_select.cpp b/src/socketengine_select.cpp
index ef5f2071f..b87d2769d 100644
--- a/src/socketengine_select.cpp
+++ b/src/socketengine_select.cpp
@@ -144,10 +144,9 @@ int SelectEngine::DispatchEvents()
{
if (writeable[ev[i]->GetFd()])
{
+ writeable[ev[i]->GetFd()] = false;
if (ev[i])
ev[i]->HandleEvent(EVENT_WRITE);
- writeable[ev[i]->GetFd()] = false;
-
}
else
{