diff options
-rw-r--r-- | include/extern.h | 4 | ||||
-rw-r--r-- | include/modules.h | 6 | ||||
-rw-r--r-- | src/events.c | 2 | ||||
-rw-r--r-- | version.log | 6 |
4 files changed, 11 insertions, 7 deletions
diff --git a/include/extern.h b/include/extern.h index 2f4feb434..fefdc56bb 100644 --- a/include/extern.h +++ b/include/extern.h @@ -1347,8 +1347,8 @@ E char *host_resolve(char *host); E void event_message_process(char *eventbuf); E void eventprintf(char *fmt, ...); -E void event_process_hook(char *name, int argc, char **argv); -E void send_event(char *name, int argc, ...); +E void event_process_hook(const char *name, int argc, char **argv); +E void send_event(const char *name, int argc, ...); #ifdef _WIN32
E char *GetWindowsVersion(void) ;
diff --git a/include/modules.h b/include/modules.h index f9c16f7b3..9079d80a9 100644 --- a/include/modules.h +++ b/include/modules.h @@ -273,8 +273,8 @@ int loadModule(Module *m,User *u); /* Load the given module into the program */ int protocol_module_init(void); /* Load the IRCD Protocol Module up*/ int unloadModule(Module *m, User *u); /* Unload the given module from the pro */ int prepForUnload(Module *m); /* Prepare the module for unload */ -MDE void moduleAddVersion(char *version); -MDE void moduleAddAuthor(char *author); +MDE void moduleAddVersion(const char *version); +MDE void moduleAddAuthor(const char *author); void modules_init(void); void modules_delayed_init(void); void moduleCallBackPrepForUnload(char *mod_name); @@ -316,7 +316,7 @@ Command *findCommand(CommandHash *cmdTable[], const char *name); /* Find a comma /*************************************************************************/ /* Message Managment Functions */ -MDE Message *createMessage(char *name,int (*func)(char *source, int ac, char **av)); +MDE Message *createMessage(const char *name,int (*func)(char *source, int ac, char **av)); Message *findMessage(MessageHash *msgTable[], const char *name); /* Find a Message */ MDE int addMessage(MessageHash *msgTable[], Message *m, int pos); /* Add a Message to a Message table */ MDE int addCoreMessage(MessageHash *msgTable[], Message *m); /* Add a Message to a Message table */ diff --git a/src/events.c b/src/events.c index 08af16dd9..d1b44793e 100644 --- a/src/events.c +++ b/src/events.c @@ -148,7 +148,7 @@ void event_message_process(char *eventbuf) free(av); } -void event_process_hook(char *name, int argc, char **argv) +void event_process_hook(const char *name, int argc, char **argv) { int retVal = 0; EvtHook *current = NULL; diff --git a/version.log b/version.log index 1d91dfe22..a52ed6db9 100644 --- a/version.log +++ b/version.log @@ -9,10 +9,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="14" VERSION_EXTRA="" -VERSION_BUILD="1040" +VERSION_BUILD="1041" # $Log$ # +# BUILD : 1.7.14 (1041) +# BUGS : 514 +# NOTES : Fixed booboo. Thx to Trystan. +# # BUILD : 1.7.14 (1040) # BUGS : 509 511 # NOTES : Fixed compiler warnigs, thx to trystan. again. |