diff options
| author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-28 01:04:57 +0000 |
|---|---|---|
| committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-28 01:04:57 +0000 |
| commit | bac9e520ed706e7fcf37c26a8f31b3e8964efc71 (patch) | |
| tree | 3056628f2e81b3d3e97639bcf8b4595b177ed0bc /include | |
| parent | bf3da7cd804e85dbb889255d3603d1d64f619bbb (diff) | |
Moved moduleNoticeLang() to Module::NoticeLang().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1803 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
| -rw-r--r-- | include/modules.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index 492a3aa08..76413d100 100644 --- a/include/modules.h +++ b/include/modules.h @@ -241,6 +241,15 @@ class CoreExport Module **/ const char *GetLangString(User *u, int number); + /** + * Send a notice to the user in the correct language, or english. + * @param source Who sends the notice + * @param u The user to send the message to + * @param number The message number + * @param ... The argument list + **/ + void NoticeLang(char *source, User * u, int number, ...); + /** Add a module message to the IRCD message hash * @param m the Message to add * @param pos the Position to add the message to, e.g. MOD_HEAD, MOD_TAIL, MOD_UNIQUE @@ -470,7 +479,6 @@ int delEventHook(EvtHookHash * HookEvtTable[], EvtHook * evh, const char *mod_na int destroyEventHook(EvtHook * evh); MDE void moduleInsertLanguage(int langNumber, int ac, const char **av); -MDE void moduleNoticeLang(char *source, User *u, int number, ...); MDE const char *moduleGetLangString(User * u, int number); /*************************************************************************/ |
