diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:09 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:09 +0000 |
commit | 1e918b949ce6d96b7f294f659d907546e5d60e44 (patch) | |
tree | d8c1ec8ee383d85a186117ef8980631e35250e7a /src/core/cs_kick.c | |
parent | 06f53a85821be6c7d276e2ee5721163d469af784 (diff) |
Various constification/g++ fixes..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1184 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_kick.c')
-rw-r--r-- | src/core/cs_kick.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/cs_kick.c b/src/core/cs_kick.c index 25ce396ff..226086fdf 100644 --- a/src/core/cs_kick.c +++ b/src/core/cs_kick.c @@ -91,7 +91,7 @@ int do_cs_kick(User * u) next = uc->next; if ((ci = uc->chan->ci) && !(ci->flags & CI_VERBOTEN) && check_access(u, ci, CA_KICKME)) { - char *av[3]; + const char *av[3]; if ((ci->flags & CI_SIGNKICK) || ((ci->flags & CI_SIGNKICK_LEVEL) @@ -134,7 +134,7 @@ int do_cs_kick(User * u) } else if (is_protected(u2)) { notice_lang(s_ChanServ, u, PERMISSION_DENIED); } else { - char *av[3]; + const char *av[3]; if ((ci->flags & CI_SIGNKICK) || ((ci->flags & CI_SIGNKICK_LEVEL) |