1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 05:03:14 +02:00

Moved the *Serv help functions to Command, will come in use later with subcommands

This commit is contained in:
Adam
2010-05-30 17:21:44 -04:00
committed by Adam
parent b8f9116b19
commit 6cd8849466
117 changed files with 707 additions and 801 deletions
+5 -6
View File
@@ -156,6 +156,11 @@ class CommandMSList : public Command
{
syntax_error(Config.s_MemoServ, u, "LIST", MEMO_LIST_SYNTAX);
}
void OnServCommand(User *u)
{
notice_lang(Config.s_MemoServ, u, MEMO_HELP_CMD_LIST);
}
};
class MSList : public Module
@@ -167,12 +172,6 @@ class MSList : public Module
this->SetVersion(VERSION_STRING);
this->SetType(CORE);
this->AddCommand(MemoServ, new CommandMSList());
ModuleManager::Attach(I_OnMemoServHelp, this);
}
void OnMemoServHelp(User *u)
{
notice_lang(Config.s_MemoServ, u, MEMO_HELP_CMD_LIST);
}
};