diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
commit | b3df8dbfb1943030adb6f72f5c3cee509d6ffa5e (patch) | |
tree | 0836878e5d71409875cf057657691b70f3c5fd79 /src/modules/cs_enforce.c | |
parent | 792b705757dc01a9b12c3bb4f0b8855c25dbde07 (diff) |
Fix src/modules/ so they compile with stricter g++.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1204 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules/cs_enforce.c')
-rw-r--r-- | src/modules/cs_enforce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/cs_enforce.c b/src/modules/cs_enforce.c index a9beec419..a4b81dd9a 100644 --- a/src/modules/cs_enforce.c +++ b/src/modules/cs_enforce.c @@ -100,7 +100,7 @@ void do_enforce_restricted(Channel * c) int16 old_nojoin_level; char mask[BUFSIZE]; char *reason; - char *av[3]; + const char *av[3]; User *u; if (!(ci = c->ci)) @@ -141,7 +141,7 @@ void do_enforce_cmode_R(Channel * c) ChannelInfo *ci; char mask[BUFSIZE]; char *reason; - char *av[3]; + const char *av[3]; User *u; CBMode *cbm; |