From 2962a0be8c8f0d986f4c5ad2cdc425139ca719e3 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 26 Feb 2024 16:36:47 +0000 Subject: [PATCH] Fix bs_kick not using the correct kick message for automatic kicks. Closes #354. --- modules/botserv/bs_kick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/botserv/bs_kick.cpp b/modules/botserv/bs_kick.cpp index a3e76fdab..5888fa302 100644 --- a/modules/botserv/bs_kick.cpp +++ b/modules/botserv/bs_kick.cpp @@ -1104,7 +1104,7 @@ class BSKick final vsnprintf(buf, sizeof(buf), fmt.c_str(), args); va_end(args); - ci->c->Kick(ci->bi, u, "%s", buf); + ci->c->Kick(ci->bi, u, Anope::string(buf)); } public: