diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-06 14:34:00 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-08 13:11:50 +0000 |
commit | a4dddfd5f121c9cc74e05e08a568c6a9febfd56f (patch) | |
tree | 5cb718582a9c9fc4d79a4a0833f3a4c8027cb821 /include/commands.h | |
parent | 7ddc865cdeb0be9eb929cbbefae1c92009683291 (diff) |
Mark format strings with the GNU printf attribute.
Diffstat (limited to 'include/commands.h')
-rw-r--r-- | include/commands.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |