mirror of
https://github.com/anope/anope.git
synced 2026-06-26 15:56:39 +02:00
Don't delete users immediately when quit or killed, instead wait until message processing is done
This commit is contained in:
+7
-2
@@ -116,9 +116,14 @@ UplinkSocket::~UplinkSocket()
|
||||
}
|
||||
}
|
||||
|
||||
bool UplinkSocket::Read(const Anope::string &buf)
|
||||
bool UplinkSocket::ProcessRead()
|
||||
{
|
||||
Anope::Process(buf);
|
||||
BufferedSocket::ProcessRead();
|
||||
for (Anope::string buf; (buf = this->GetLine()).empty() == false;)
|
||||
{
|
||||
Anope::Process(buf);
|
||||
User::QuitUsers();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user