1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 00:26:39 +02:00

Mark format strings with the GNU printf attribute.

This commit is contained in:
Sadie Powell
2024-01-06 14:34:00 +00:00
parent 7ddc865cde
commit a4dddfd5f1
10 changed files with 30 additions and 24 deletions
+1 -1
View File
@@ -336,7 +336,7 @@ struct IRCDMessageMode : IRCDMessage
{
User *u = User::Find(params[0]);
if (u)
u->SetModesInternal(source, "%s", params[1].c_str());
u->SetModesInternal(source, params[1]);
}
}
};