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:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user