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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user