1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 21:23:12 +02:00

Add a non-formatting overload of User::SetModesInternal.

This commit is contained in:
Sadie Powell
2024-01-06 14:41:54 +00:00
parent a4dddfd5f1
commit 5db79c1e24
9 changed files with 21 additions and 14 deletions
+1 -1
View File
@@ -1690,7 +1690,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]);
}
}
};