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 2ba7bda67..091caa12f 100644
--- a/src/bots.cpp
+++ b/src/bots.cpp
@@ -178,7 +178,7 @@ void ServiceBot::Part(Channel *c, const Anope::string &reason)
EventManager::Get()->Dispatch(&Event::PrePartChannel::OnPrePartChannel, this, c);
- IRCD->SendPart(this, c, "%s", !reason.empty() ? reason.c_str() : "");
+ IRCD->SendPart(this, c, reason);
c->DeleteUser(this);