mirror of
https://github.com/anope/anope.git
synced 2026-07-09 13:43:14 +02:00
Moved the *Serv help functions to Command, will come in use later with subcommands
This commit is contained in:
@@ -178,6 +178,11 @@ public:
|
||||
{
|
||||
syntax_error(Config.s_ChanServ, u, "LIST", CHAN_LIST_SYNTAX);
|
||||
}
|
||||
|
||||
void OnServHelp(User *u)
|
||||
{
|
||||
notice_lang(Config.s_ChanServ, u, CHAN_HELP_CMD_LIST);
|
||||
}
|
||||
};
|
||||
|
||||
class CSList : public Module
|
||||
@@ -189,12 +194,6 @@ public:
|
||||
this->SetVersion(VERSION_STRING);
|
||||
this->SetType(CORE);
|
||||
this->AddCommand(ChanServ, new CommandCSList());
|
||||
|
||||
ModuleManager::Attach(I_OnChanServHelp, this);
|
||||
}
|
||||
void OnChanServHelp(User *u)
|
||||
{
|
||||
notice_lang(Config.s_ChanServ, u, CHAN_HELP_CMD_LIST);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user