summaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-01-02 18:48:30 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-01-02 18:48:30 +0000
commit14150647bca58169e509f98f9e0a78f590e0822f (patch)
tree8f108830d71f3b3e58611366060c6574ac880e29 /src/commands.c
parent1b265bf2910685780020353447023a12739c1144 (diff)
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
Diffstat (limited to 'src/commands.c')
-rw-r--r--src/commands.c4
1 files changed, 2 insertions, 2 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);