diff options
Diffstat (limited to 'src/bots.cpp')
-rw-r--r-- | src/bots.cpp | 2 |
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); |