From 797bdccb9ba4d5bd82021d8de1ae671629c41f96 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Fri, 3 Oct 2008 00:11:57 +0000 Subject: [PATCH] Merge branch 'anopeng' into anopeng-uid git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1394 5417fbe8-f217-4b02-8779-1006273d7864 --- include/services.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/services.h b/include/services.h index 7b20c8b13..d3a97c83b 100644 --- a/include/services.h +++ b/include/services.h @@ -126,6 +126,7 @@ # include # include #else +# define NO_CLIENT_LONG_LONG # include # include #endif @@ -401,7 +402,7 @@ struct ircdcapab_ { /* Configuration directives */ typedef struct { - char *name; + const char *name; struct { int type; /* PARAM_* below */ int flags; /* Same */ @@ -772,8 +773,8 @@ struct chaninfo_ { /* ChanServ mode utilities commands */ struct csmodeutil_ { - char *name; /* Name of the ChanServ command */ - char *bsname; /* Name of the BotServ fantasy command */ + const char *name; /* Name of the ChanServ command */ + const char *bsname; /* Name of the BotServ fantasy command */ char *mode; /* Mode (ie. +o) */ int32 notice; /* Notice flag (for the damn OPNOTICE) */ int level; /* Level required to use the command */ @@ -782,7 +783,7 @@ struct csmodeutil_ { typedef struct { int what; - char *name; + const char *name; int desc; } LevelInfo;