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

Improve how Anope formats C strings.

This commit is contained in:
Sadie Powell
2025-08-02 18:09:31 +01:00
parent e6e812c43c
commit b2d40d4189
40 changed files with 157 additions and 183 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ public:
if (source && !Config->GetModule(this).Get<bool>("anonymousglobal"))
{
// A source is available and they're not anonymous.
line = Anope::printf("[%s] %s", source->GetNick().c_str(), message.c_str());
line = Anope::Format("[%s] %s", source->GetNick().c_str(), message.c_str());
}
else
{