diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/uplink.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/uplink.cpp b/src/uplink.cpp index 981c5e6e5..ec6dbc199 100644 --- a/src/uplink.cpp +++ b/src/uplink.cpp @@ -130,7 +130,8 @@ UplinkSocket::~UplinkSocket() if (u->server == Me) { /* Don't use quitmsg here, it may contain information you don't want people to see */ - IRCD->SendQuit(u, "Shutting down", Anope::QuitReason); + const auto *reason = Anope::Restarting ? "Restarting" : "Shutting down"; + IRCD->SendQuit(u, reason, Anope::QuitReason); BotInfo *bi = BotInfo::Find(u->GetUID()); if (bi != NULL) bi->introduced = false; |