From 14150647bca58169e509f98f9e0a78f590e0822f Mon Sep 17 00:00:00 2001 From: Adam- Date: Sat, 2 Jan 2010 18:48:30 +0000 Subject: Fixed help system to use notice_help instead of notice_lang (bug from r2473) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2726 5417fbe8-f217-4b02-8779-1006273d7864 --- src/commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/commands.c b/src/commands.c index a1353b70e..f0435ffa2 100644 --- a/src/commands.c +++ b/src/commands.c @@ -168,7 +168,7 @@ void do_help_cmd(char *service, User * u, Command * c, const char *cmd) Module *calling_module = mod_current_module; char *calling_module_name = mod_current_module_name; int help_message; - int (*help_message_ptr)(User *u); + int (*help_message_ptr)(User *u) = NULL; for (current = c; (current) && (cont == MOD_CONT); current = current->next) { @@ -218,7 +218,7 @@ void do_help_cmd(char *service, User * u, Command * c, const char *cmd) } if (help_message) { - notice_lang(service, u, help_message, p1, p2, p3, p4); + notice_help(service, u, help_message, p1, p2, p3, p4); has_had_help = 1; } else if (help_message_ptr) { cont = help_message_ptr(u); -- cgit