diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-04 05:45:58 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-04 05:45:58 +0000 |
commit | 2708eea5d13c249143b83fbaa8b552992f0ac8b6 (patch) | |
tree | 5afffad5f83ca6daa89784c27f4d4e9c5f4eb8fc /src/core/cs_drop.c | |
parent | f58026749b0c0770a322893b27c013168be5cdbc (diff) |
Removed NICKMAX and CHANMAX, replaced user->nick, c->name, and ci->name with std::string
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2732 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_drop.c')
-rw-r--r-- | src/core/cs_drop.c | 6 |
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); |