diff options
author | Sadie Powell <sadie@witchery.services> | 2024-06-24 13:29:41 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-06-24 13:30:17 +0100 |
commit | 6e5713d64a379fc64c7ff6658362d02b3618c3ca (patch) | |
tree | 013fe8b9831fb514502b7f07669929bd484ee45d /modules/chanserv/cs_log.cpp | |
parent | 249ad3dfea933310f10947cc03f6fe85ab116b81 (diff) |
Remove the formatting overloads of SendNotice/SendPrivmsg.
Diffstat (limited to 'modules/chanserv/cs_log.cpp')
-rw-r--r-- | modules/chanserv/cs_log.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } } |