mirror of
https://github.com/anope/anope.git
synced 2026-07-06 08:13:13 +02:00
Add hidenetsplitquit config option to not show splits in /ns info's last quit field
This commit is contained in:
+2
-1
@@ -131,7 +131,8 @@ Server::~Server()
|
||||
if (na && !na->nc->HasExt("SUSPENDED") && (u->IsRecognized() || u->IsIdentified()))
|
||||
{
|
||||
na->last_seen = Anope::CurTime;
|
||||
na->last_quit = this->quit_reason;
|
||||
if (!Config->NSHideNetSplitQuit)
|
||||
na->last_quit = this->quit_reason;
|
||||
}
|
||||
|
||||
u->Quit(this->quit_reason);
|
||||
|
||||
Reference in New Issue
Block a user