summaryrefslogtreecommitdiff
path: root/src/core/os_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/os_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/os_help.c')
-rw-r--r--src/core/os_help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/os_help.c b/src/core/os_help.c
index 94b241f4a..bc0841fa9 100644
--- a/src/core/os_help.c
+++ b/src/core/os_help.c
@@ -31,7 +31,7 @@ class CommandOSHelp : public Command
void OnSyntaxError(User *u)
{
notice_help(s_OperServ, u, OPER_HELP);
- moduleDisplayHelp(5, u);
+ moduleDisplayHelp(s_OperServ, u);
notice_help(s_OperServ, u, OPER_HELP_LOGGED);
}
};