From 87ec095a89bbc73a4dd16858bea499f466066212 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 6 Dec 2016 21:02:48 -0500 Subject: Remove many more old C style format strings in the protocol functions --- modules/chanserv/log.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/chanserv') diff --git a/modules/chanserv/log.cpp b/modules/chanserv/log.cpp index f2d782c1c..4cbc66c7e 100644 --- a/modules/chanserv/log.cpp +++ b/modules/chanserv/log.cpp @@ -456,12 +456,12 @@ class CSLog : public Module /* Sending a channel message or notice in response to a fantasy command */; else if (log->GetMethod().equals_ci("MESSAGE") && l->ci->c) { - IRCD->SendPrivmsg(l->ci->WhoSends(), log->GetExtra() + l->ci->c->name, "%s", buffer.c_str()); + IRCD->SendPrivmsg(l->ci->WhoSends(), log->GetExtra() + l->ci->c->name, buffer); #warning "fix idletimes" //l->ci->WhoSends()->lastmsg = Anope::CurTime; } else if (log->GetMethod().equals_ci("NOTICE") && l->ci->c) - IRCD->SendNotice(l->ci->WhoSends(), log->GetExtra() + l->ci->c->name, "%s", buffer.c_str()); + IRCD->SendNotice(l->ci->WhoSends(), log->GetExtra() + l->ci->c->name, buffer); } } }; -- cgit