From b3df8dbfb1943030adb6f72f5c3cee509d6ffa5e Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Tue, 30 Sep 2008 18:45:10 +0000 Subject: 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 --- src/modules/cs_enforce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/cs_enforce.c') 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; -- cgit