summaryrefslogtreecommitdiff
path: root/src/bots.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-26 16:33:48 +0000
committerSadie Powell <sadie@witchery.services>2024-02-26 16:45:28 +0000
commit6be4df3b395bd11ee1d936f6f1c9b63553441d38 (patch)
treeff004a247f7f77d719ba775ed6e4f7e3de5e6798 /src/bots.cpp
parent4789751e5002a0667ca9080bcb461b0817db31b2 (diff)
Remove several string format IRCDProto function overloads.
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 ecccafe16..32b0546e6 100644
--- a/src/bots.cpp
+++ b/src/bots.cpp
@@ -216,7 +216,7 @@ void BotInfo::Part(Channel *c, const Anope::string &reason)
FOREACH_MOD(OnPrePartChannel, (this, c));
- IRCD->SendPart(this, c, "%s", !reason.empty() ? reason.c_str() : "");
+ IRCD->SendPart(this, c, reason);
c->DeleteUser(this);