summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/userprocess.cpp9
-rw-r--r--src/users.cpp1
2 files changed, 1 insertions, 9 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp
index 327cd88f3..5ae0812c1 100644
--- a/src/userprocess.cpp
+++ b/src/userprocess.cpp
@@ -201,15 +201,6 @@ void InspIRCd::ProcessUser(userrec* cu)
* table, life is much easier (and FASTER)
*/
EventHandler* new_comp = this->SE->GetRef(currfd);
- if (old_comp != new_comp)
- {
- return;
- }
- else
- {
- /* The user is still here, flush their buffer */
- current->FlushWriteBuf();
- }
}
return;
diff --git a/src/users.cpp b/src/users.cpp
index 4b7e38f3c..3c882f867 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1430,6 +1430,7 @@ void userrec::Write(std::string text)
this->AddWriteBuf(text);
}
ServerInstance->stats->statsSent += text.length();
+ this->ServerInstance->SE->WantWrite(this);
}
/** Write()