diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-08 23:43:51 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-08 23:43:51 +0000 |
| commit | 9d37cf1d5afeaa054f31e0df85275521410bde61 (patch) | |
| tree | 6723415d5561a2d7c404e6e1233047f3a9de5f98 /src/modules.c | |
| parent | 458be36a321615c0f3004a6abde7e14d40f5da32 (diff) | |
Made the Module::ServHelp() functions part of the event system
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2637 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules.c')
| -rw-r--r-- | src/modules.c | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/src/modules.c b/src/modules.c index ee8dae409..3482220ae 100644 --- a/src/modules.c +++ b/src/modules.c @@ -646,39 +646,7 @@ bool Module::DelCallBack(Timer *t) return false; } -/** - * Display any extra module help for the given service. - * @param services which services is help being dispalyed for? - * @param u which user is requesting the help - **/ -void moduleDisplayHelp(const char *service, User * u) -{ - int idx; - ModuleHash *current = NULL; - - if (!service) - return; - - for (idx = 0; idx != MAX_CMD_HASH; idx++) { - for (current = MODULE_HASH[idx]; current; current = current->next) { - if (s_NickServ && !strcmp(s_NickServ, service)) - current->m->NickServHelp(u); - else if (s_ChanServ && !strcmp(s_ChanServ, service)) - current->m->ChanServHelp(u); - else if (s_MemoServ && !strcmp(s_MemoServ, service)) - current->m->MemoServHelp(u); - else if (s_BotServ && !strcmp(s_BotServ, service)) - current->m->BotServHelp(u); - else if (s_OperServ && !strcmp(s_OperServ, service)) - current->m->OperServHelp(u); - else if (s_HostServ && !strcmp(s_HostServ, service)) - current->m->HostServHelp(u); - } - } -} - -/** - * Check the current version of anope against a given version number + /* Check the current version of anope against a given version number * Specifiying -1 for minor,patch or build * @param major The major version of anope, the first part of the verison number * @param minor The minor version of anope, the second part of the version number |
