From 6e5713d64a379fc64c7ff6658362d02b3618c3ca Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 24 Jun 2024 13:29:41 +0100 Subject: Remove the formatting overloads of SendNotice/SendPrivmsg. --- modules/chanserv/cs_log.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/chanserv') diff --git a/modules/chanserv/cs_log.cpp b/modules/chanserv/cs_log.cpp index 8c1004eeb..defd38287 100644 --- a/modules/chanserv/cs_log.cpp +++ b/modules/chanserv/cs_log.cpp @@ -391,11 +391,11 @@ public: /* Sending a channel message or notice in response to a fantasy command */; else if (log->method.equals_ci("MESSAGE") && l->ci->c) { - IRCD->SendPrivmsg(l->ci->WhoSends(), log->extra + l->ci->c->name, "%s", buffer.c_str()); + IRCD->SendPrivmsg(l->ci->WhoSends(), log->extra + l->ci->c->name, buffer); l->ci->WhoSends()->lastmsg = Anope::CurTime; } else if (log->method.equals_ci("NOTICE") && l->ci->c) - IRCD->SendNotice(l->ci->WhoSends(), log->extra + l->ci->c->name, "%s", buffer.c_str()); + IRCD->SendNotice(l->ci->WhoSends(), log->extra + l->ci->c->name, buffer); } } } -- cgit