diff options
author | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-06-04 10:10:26 +0000 |
---|---|---|
committer | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-06-04 10:10:26 +0000 |
commit | 9e5bb795629f41e39517305dcd2784dae1af66f1 (patch) | |
tree | 3d1293180be78e97973dfc3e7ab360374bca1d85 /include/modules.h | |
parent | 0118e0b185413fbf8794fe89798c61b0a6f9a893 (diff) |
# BUILD : 1.7.14 (1041) # BUGS : 514 # NOTES : Fixed booboo. Thx to Trystan.
git-svn-id: svn://svn.anope.org/anope/trunk@1041 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@765 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |