summaryrefslogtreecommitdiff
path: root/src/bots.cpp
diff options
context:
space:
mode:
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);