summaryrefslogtreecommitdiff
path: root/src/bots.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-03-09 18:51:03 +0000
committerSadie Powell <sadie@witchery.services>2025-03-09 18:51:03 +0000
commit6d7fe69cdf9ff1b8fcb149734753c2800894b68e (patch)
treea35c951fa0e129e401081a25dc8253ff77b49de0 /src/bots.cpp
parent314ef609001bd511c7a7ef243191bcd471bffa1c (diff)
Add support for oper-only quit messages.
This currently only works on InspIRCd but I believe that other servers also support this.
Diffstat (limited to 'src/bots.cpp')
-rw-r--r--src/bots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bots.cpp b/src/bots.cpp
index 5aa953672..35a4ccb05 100644
--- a/src/bots.cpp
+++ b/src/bots.cpp
@@ -66,7 +66,7 @@ BotInfo::~BotInfo()
// If we're synchronised with the uplink already, send the bot.
if (Me && Me->IsSynced())
{
- IRCD->SendQuit(this, "");
+ IRCD->SendQuit(this);
FOREACH_MOD(OnUserQuit, (this, ""));
this->introduced = false;
XLine x(this->nick);