1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 09:36:38 +02:00

Add support for oper-only quit messages.

This currently only works on InspIRCd but I believe that other
servers also support this.
This commit is contained in:
Sadie Powell
2025-03-09 18:51:03 +00:00
parent 314ef60900
commit 6d7fe69cdf
6 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ 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");
IRCD->SendQuit(u, "Shutting down", Anope::QuitReason);
BotInfo *bi = BotInfo::Find(u->GetUID());
if (bi != NULL)
bi->introduced = false;