summaryrefslogtreecommitdiff
path: root/modules/chanserv/cs_log.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-06-24 13:29:41 +0100
committerSadie Powell <sadie@witchery.services>2024-06-24 13:30:17 +0100
commit6e5713d64a379fc64c7ff6658362d02b3618c3ca (patch)
tree013fe8b9831fb514502b7f07669929bd484ee45d /modules/chanserv/cs_log.cpp
parent249ad3dfea933310f10947cc03f6fe85ab116b81 (diff)
Remove the formatting overloads of SendNotice/SendPrivmsg.
Diffstat (limited to 'modules/chanserv/cs_log.cpp')
-rw-r--r--modules/chanserv/cs_log.cpp4
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);
}
}
}