diff options
Diffstat (limited to 'src/channels.cpp')
-rw-r--r-- | src/channels.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index babe5c69c..2598d7602 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -783,7 +783,7 @@ bool Channel::Kick(BotInfo *bi, User *u, const char *reason, ...) vsnprintf(buf, BUFSIZE - 1, reason, args); va_end(args); - return Kick(bi, u, Anope::string(reason)); + return Kick(bi, u, Anope::string(buf)); } bool Channel::Kick(BotInfo *bi, User *u, const Anope::string &reason) |