mirror of
https://github.com/anope/anope.git
synced 2026-07-06 07:13:13 +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:
@@ -58,7 +58,6 @@ enum CommandReturn
|
||||
#define MEMOSERV MS_cmdTable
|
||||
#define NICKSERV NS_cmdTable
|
||||
#define CHANSERV CS_cmdTable
|
||||
#define HELPSERV HE_cmdTable
|
||||
#define OPERSERV OS_cmdTable
|
||||
#define IRCD IRCD_cmdTable
|
||||
#define MODULE_HASH Module_table
|
||||
@@ -135,7 +134,6 @@ extern MDE CommandHash *BOTSERV[MAX_CMD_HASH];
|
||||
extern MDE CommandHash *MEMOSERV[MAX_CMD_HASH];
|
||||
extern MDE CommandHash *NICKSERV[MAX_CMD_HASH];
|
||||
extern MDE CommandHash *CHANSERV[MAX_CMD_HASH];
|
||||
extern MDE CommandHash *HELPSERV[MAX_CMD_HASH];
|
||||
extern MDE CommandHash *OPERSERV[MAX_CMD_HASH];
|
||||
extern MDE MessageHash *IRCD[MAX_CMD_HASH];
|
||||
extern MDE ModuleHash *MODULE_HASH[MAX_CMD_HASH];
|
||||
@@ -248,7 +246,6 @@ class CoreExport Module
|
||||
void (*botHelp)(User *u); /* 4 */
|
||||
void (*operHelp)(User *u); /* 5 */
|
||||
void (*hostHelp)(User *u); /* 6 */
|
||||
void (*helpHelp)(User *u); /* 7 */
|
||||
|
||||
MessageHash *msgList[MAX_CMD_HASH];
|
||||
ModuleLang lang[NUM_LANGS];
|
||||
@@ -333,13 +330,6 @@ class CoreExport Module
|
||||
**/
|
||||
void SetHostHelp(void (*func)(User *));
|
||||
|
||||
/**
|
||||
* Add output to helpserv help.
|
||||
* when doing a /msg helpserv help, your function will be called to allow it to send out a notice() with the code you wish to dispaly
|
||||
* @param func a pointer to the function which will display the code
|
||||
**/
|
||||
void SetHelpHelp(void (*func)(User *));
|
||||
|
||||
/**
|
||||
* Allow a module to add a set of language strings to anope
|
||||
* @param langNumber the language number for the strings
|
||||
|
||||
Reference in New Issue
Block a user