summaryrefslogtreecommitdiff
path: root/src/core/ns_help.c
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-06 21:25:56 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-06 21:25:56 +0000
commit578da38d30893ca33cc1aa9183e4b82d67c831f3 (patch)
treecd2bada4c31d277463d44a63a8257339dbbcad26 /src/core/ns_help.c
parentfbb1ab92468cce3b4414a1232c4efc77d34e27c8 (diff)
Replace Set*Help() functions with virtual *ServHelp() functions that can be overriden in a module's Module class. Patch from Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2266 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/ns_help.c')
-rw-r--r--src/core/ns_help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ns_help.c b/src/core/ns_help.c
index 5c2b164cd..046af753f 100644
--- a/src/core/ns_help.c
+++ b/src/core/ns_help.c
@@ -43,7 +43,7 @@ class CommandNSHelp : public Command
void OnSyntaxError(User *u)
{
notice_help(s_NickServ, u, NICK_HELP);
- moduleDisplayHelp(1, u);
+ moduleDisplayHelp(s_NickServ, u);
if (u->nc && u->nc->IsServicesOper())
notice_help(s_NickServ, u, NICK_SERVADMIN_HELP);
if (NSExpire >= 86400)