diff options
author | Sadie Powell <sadie@witchery.services> | 2024-03-12 17:00:42 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-03-12 17:00:42 +0000 |
commit | 6fd7ca39e2ff6ba3c2e721e64432caa79ef0ffca (patch) | |
tree | 2477843a9bf207417c45c42434c764fa587bedb0 | |
parent | b8cd00b4122b7a243a2071268f2d395808782472 (diff) |
Fix the reason when kicking users from suspended channels.
Closes #372.
-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) |