1
0
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:
Adam
2013-01-22 04:27:55 -05:00
parent 8811545472
commit f656e3195f
4 changed files with 15 additions and 5 deletions
+2 -1
View File
@@ -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);