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 ++-- version.log | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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); diff --git a/version.log b/version.log index 2303efc8e..b67be27b0 100644 --- a/version.log +++ b/version.log @@ -9,9 +9,10 @@ VERSION_MAJOR="1" VERSION_MINOR="8" VERSION_PATCH="2" VERSION_EXTRA="-svn" -VERSION_BUILD="2712" +VERSION_BUILD="2726" # $Log$ # Changes since 1.8.2 Release +#Revosion 2726 - Fixed help system to use notice_help instead of notice_lang (bug from r2473) #Revision 2712 - Fixed loading of nickcore access lists from SQL to always set nickcores accesscount to the real amount of entries #Revision 2679 - Fixed bug #1106 - Anope now keeps track of users cloaked hosts as well as virtual host and will use both in matching for things #Revision 2671 - Fix bug #1114. Fixed a bug in cs_clear caused by do_cmode() modifying params passed to it. Also fixed some warnings in cs_xop. -- cgit