summaryrefslogtreecommitdiff
path: root/src/core/cs_drop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_drop.c')
-rw-r--r--src/core/cs_drop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/cs_drop.c b/src/core/cs_drop.c
index 82ffc2a1f..1cc1949d5 100644
--- a/src/core/cs_drop.c
+++ b/src/core/cs_drop.c
@@ -67,11 +67,11 @@ class CommandCSDrop : public Command
if (ircd->chansqline && (ci->HasFlag(CI_FORBIDDEN)))
{
- ircdproto->SendSQLineDel(ci->name);
+ ircdproto->SendSQLineDel(ci->name.c_str());
}
alog("%s: Channel %s dropped by %s!%s@%s (founder: %s)",
- Config.s_ChanServ, ci->name, u->nick, u->GetIdent().c_str(),
+ Config.s_ChanServ, ci->name.c_str(), u->nick.c_str(), u->GetIdent().c_str(),
u->host, (ci->founder ? ci->founder->display : "(none)"));
delete ci;
@@ -81,7 +81,7 @@ class CommandCSDrop : public Command
*/
if (Config.WallDrop) {
if ((level < ACCESS_FOUNDER) || (!IsRealFounder(u, ci) && ci->HasFlag(CI_SECUREFOUNDER)))
- ircdproto->SendGlobops(findbot(Config.s_ChanServ), "\2%s\2 used DROP on channel \2%s\2", u->nick, chan);
+ ircdproto->SendGlobops(findbot(Config.s_ChanServ), "\2%s\2 used DROP on channel \2%s\2", u->nick.c_str(), chan);
}
notice_lang(Config.s_ChanServ, u, CHAN_DROPPED, chan);