From a4dddfd5f121c9cc74e05e08a568c6a9febfd56f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 6 Jan 2024 14:34:00 +0000 Subject: Mark format strings with the GNU printf attribute. --- include/commands.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/commands.h') diff --git a/include/commands.h b/include/commands.h index 6d10c8da5..cb53cf017 100644 --- a/include/commands.h +++ b/include/commands.h @@ -77,7 +77,7 @@ public: AccessGroup AccessFor(ChannelInfo *ci); bool IsFounder(ChannelInfo *ci); - void Reply(const char *message, ...); + void Reply(const char *message, ...) ATTR_FORMAT(2, 3); void Reply(const Anope::string &message); bool HasCommand(const Anope::string &cmd); -- cgit