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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user