From c0c73e4abdd547f640b4271c955dc5057d03498f Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Thu, 27 Nov 2008 05:35:34 +0000 Subject: Moved moduleGetLangString() to Module::GetLangString(). Also changed modules_unload_all() to not delete a module directly, but instead call ModuleManager::UnloadModule(). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1801 5417fbe8-f217-4b02-8779-1006273d7864 --- include/modules.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index d01b4f65d..492a3aa08 100644 --- a/include/modules.h +++ b/include/modules.h @@ -233,6 +233,14 @@ class CoreExport Module **/ void DeleteLanguage(int langNumber); + /** + * Get the text of the given lanugage string in the corrent language, or + * in english. + * @param u The user to send the message to + * @param number The message number + **/ + const char *GetLangString(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 -- cgit