mirror of
https://github.com/anope/anope.git
synced 2026-07-05 00:53:12 +02:00
HelpServ has been destroyed, +1000 points. Also fixed the argument order in the deprecated match_wild() function.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2074 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -23,7 +23,6 @@ CommandHash *BOTSERV[MAX_CMD_HASH];
|
||||
CommandHash *MEMOSERV[MAX_CMD_HASH];
|
||||
CommandHash *NICKSERV[MAX_CMD_HASH];
|
||||
CommandHash *CHANSERV[MAX_CMD_HASH];
|
||||
CommandHash *HELPSERV[MAX_CMD_HASH];
|
||||
CommandHash *OPERSERV[MAX_CMD_HASH];
|
||||
MessageHash *IRCD[MAX_CMD_HASH];
|
||||
ModuleHash *MODULE_HASH[MAX_CMD_HASH];
|
||||
@@ -296,12 +295,6 @@ int Module::AddCommand(CommandHash * cmdTable[], Command * c, int pos)
|
||||
} else {
|
||||
return MOD_ERR_NOSERVICE;
|
||||
}
|
||||
} else if (cmdTable == HELPSERV) {
|
||||
if (s_HelpServ) {
|
||||
c->service = sstrdup(s_HelpServ);
|
||||
} else {
|
||||
return MOD_ERR_NOSERVICE;
|
||||
}
|
||||
} else if (cmdTable == OPERSERV) {
|
||||
if (s_OperServ) {
|
||||
c->service = sstrdup(s_OperServ);
|
||||
@@ -932,11 +925,6 @@ void Module::SetHostHelp(void (*func)(User *))
|
||||
this->hostHelp = func;
|
||||
}
|
||||
|
||||
void Module::SetHelpHelp(void (*func)(User *))
|
||||
{
|
||||
this->helpHelp = func;
|
||||
}
|
||||
|
||||
/**
|
||||
* Display any extra module help for the given service.
|
||||
* @param services which services is help being dispalyed for?
|
||||
@@ -961,8 +949,6 @@ void moduleDisplayHelp(int service, User * u)
|
||||
current->m->operHelp(u);
|
||||
} else if ((service == 6) && current->m->hostHelp) {
|
||||
current->m->hostHelp(u);
|
||||
} else if ((service == 7) && current->m->helpHelp) {
|
||||
current->m->helpHelp(u);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user