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_clear.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_clear.c')
-rw-r--r-- | src/core/cs_clear.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/cs_clear.c b/src/core/cs_clear.c index cc8208829..1de6ca1ff 100644 --- a/src/core/cs_clear.c +++ b/src/core/cs_clear.c @@ -152,12 +152,12 @@ class CommandCSClear : public Command struct c_userlist *cu, *bnext; char buf[256]; - snprintf(buf, sizeof(buf), "CLEAR USERS command from %s", u->nick); + snprintf(buf, sizeof(buf), "CLEAR USERS command from %s", u->nick.c_str()); for (cu = c->users; cu; cu = bnext) { bnext = cu->next; av[0] = sstrdup(chan); - av[1] = sstrdup(cu->user->nick); + av[1] = sstrdup(cu->user->nick.c_str()); av[2] = sstrdup(buf); ircdproto->SendKick(whosends(ci), c, cu->user, av[2]); do_kick(Config.s_ChanServ, 3, av); |