diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-06 21:25:56 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-06 21:25:56 +0000 |
commit | 578da38d30893ca33cc1aa9183e4b82d67c831f3 (patch) | |
tree | cd2bada4c31d277463d44a63a8257339dbbcad26 /src/core/cs_help.c | |
parent | fbb1ab92468cce3b4414a1232c4efc77d34e27c8 (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/cs_help.c')
-rw-r--r-- | src/core/cs_help.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_help.c b/src/core/cs_help.c index 3a6d9b5b7..4d7011440 100644 --- a/src/core/cs_help.c +++ b/src/core/cs_help.c @@ -54,7 +54,7 @@ class CommandCSHelp : public Command void OnSyntaxError(User *u) { notice_help(s_ChanServ, u, CHAN_HELP); - moduleDisplayHelp(2, u); + moduleDisplayHelp(s_ChanServ, u); if (CSExpire >= 86400) notice_help(s_ChanServ, u, CHAN_HELP_EXPIRES, CSExpire / 86400); if (u->nc && u->nc->IsServicesOper()) |