mirror of
https://github.com/anope/anope.git
synced 2026-06-30 04:36:38 +02:00
Dont check for noquit/quitstorm, check and be sure all users are gone regardless
This commit is contained in:
+8
-11
@@ -125,22 +125,19 @@ Server::~Server()
|
||||
{
|
||||
Log(this, "quit") << "quit from " << (this->uplink ? this->uplink->GetName() : "no uplink") << " for " << this->quit_reason;
|
||||
|
||||
if (Servers::Capab.count("NOQUIT") > 0 || Servers::Capab.count("QS") > 0)
|
||||
for (user_map::const_iterator it = UserListByNick.begin(); it != UserListByNick.end(); ++it)
|
||||
{
|
||||
for (user_map::const_iterator it = UserListByNick.begin(); it != UserListByNick.end(); ++it)
|
||||
User *u = it->second;
|
||||
|
||||
if (u->server == this)
|
||||
{
|
||||
User *u = it->second;
|
||||
|
||||
if (u->server == this)
|
||||
{
|
||||
u->Quit(this->quit_reason);
|
||||
u->server = NULL;
|
||||
}
|
||||
u->Quit(this->quit_reason);
|
||||
u->server = NULL;
|
||||
}
|
||||
|
||||
Log(LOG_DEBUG) << "Finished removing all users for " << this->GetName();
|
||||
}
|
||||
|
||||
Log(LOG_DEBUG) << "Finished removing all users for " << this->GetName();
|
||||
|
||||
if (this->uplink)
|
||||
this->uplink->DelLink(this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user