diff options
Diffstat (limited to 'modules/chanserv')
| -rw-r--r-- | modules/chanserv/log.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } }; |
