1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 03:43:13 +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
@@ -216,6 +216,11 @@ class CommandCSEnforce : public Command
{
me->NoticeLang(Config.s_ChanServ, u, LNG_ENFORCE_SYNTAX);
}
void OnServHelp(User *u)
{
me->NoticeLang(Config.s_ChanServ, u, LNG_CHAN_HELP);
}
};
class CSEnforce : public Module
@@ -438,12 +443,6 @@ class CSEnforce : public Module
this->InsertLanguage(LANG_PT, LNG_NUM_STRINGS, langtable_pt);
this->InsertLanguage(LANG_RU, LNG_NUM_STRINGS, langtable_ru);
this->InsertLanguage(LANG_IT, LNG_NUM_STRINGS, langtable_it);
ModuleManager::Attach(I_OnChanServHelp, this);
}
void OnChanServHelp(User *u)
{
this->NoticeLang(Config.s_ChanServ, u, LNG_CHAN_HELP);
}
};