diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-03 00:11:57 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-03 00:11:57 +0000 |
commit | 797bdccb9ba4d5bd82021d8de1ae671629c41f96 (patch) | |
tree | 1904a70f38f8a9fcafc0c29ba08c75b747f6b246 | |
parent | b10521f6100ef64b118e62977370cf938d9b96ff (diff) |
Merge branch 'anopeng' into anopeng-uid
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1394 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | include/services.h | 9 |
1 files 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 <mysql/mysql.h> # include <mysql/errmsg.h> #else +# define NO_CLIENT_LONG_LONG # include <mysql.h> # include <errmsg.h> #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; |