summaryrefslogtreecommitdiff
path: root/modules/commands/bs_kick.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-06 14:34:00 +0000
committerSadie Powell <sadie@witchery.services>2024-01-08 13:11:50 +0000
commita4dddfd5f121c9cc74e05e08a568c6a9febfd56f (patch)
tree5cb718582a9c9fc4d79a4a0833f3a4c8027cb821 /modules/commands/bs_kick.cpp
parent7ddc865cdeb0be9eb929cbbefae1c92009683291 (diff)
Mark format strings with the GNU printf attribute.
Diffstat (limited to 'modules/commands/bs_kick.cpp')
-rw-r--r--modules/commands/bs_kick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/bs_kick.cpp b/modules/commands/bs_kick.cpp
index 454760a12..e1919e241 100644
--- a/modules/commands/bs_kick.cpp
+++ b/modules/commands/bs_kick.cpp
@@ -1070,7 +1070,7 @@ class BSKick : public Module
}
}
- void bot_kick(ChannelInfo *ci, User *u, const char *message, ...)
+ void bot_kick(ChannelInfo *ci, User *u, const char *message, ...) ATTR_FORMAT(4, 5)
{
va_list args;
char buf[1024];