From bac9e520ed706e7fcf37c26a8f31b3e8964efc71 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Fri, 28 Nov 2008 01:04:57 +0000 Subject: Moved moduleNoticeLang() to Module::NoticeLang(). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1803 5417fbe8-f217-4b02-8779-1006273d7864 --- include/modules.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'include') 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); /*************************************************************************/ -- cgit