mirror of
https://github.com/anope/anope.git
synced 2026-07-02 18:13:12 +02:00
Mark format strings with the GNU printf attribute.
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user