summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp
index f2c2d9ae4..538f8d33b 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -785,7 +785,6 @@ void User::FullConnect()
if (r)
{
- this->muted = true;
r->Apply(this);
return;
}
@@ -794,7 +793,6 @@ void User::FullConnect()
if (n)
{
- this->muted = true;
n->Apply(this);
return;
}
@@ -1702,6 +1700,9 @@ void User::ShowRULES()
void User::HandleEvent(EventType et, int errornum)
{
+ if (this->muted) // drop everything, user is due to be quit
+ return;
+
/* WARNING: May delete this user! */
int thisfd = this->GetFd();