1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 10:36:38 +02:00

Fix the reason when kicking users from suspended channels.

Closes #372.
This commit is contained in:
Sadie Powell
2024-03-12 17:00:42 +00:00
parent b8cd00b412
commit 6fd7ca39e2
+1 -1
View File
@@ -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)