mirror of
https://github.com/anope/anope.git
synced 2026-07-08 14:43:12 +02:00
Fixed some chanserv help set/saset replies
This commit is contained in:
@@ -61,7 +61,7 @@ class CommandCSSASet : public Command
|
||||
notice_help(Config.s_ChanServ, u, CHAN_HELP_SASET_HEAD);
|
||||
for (subcommand_map::iterator it = this->subcommands.begin(), it_end = this->subcommands.end(); it != it_end; ++it)
|
||||
it->second->OnServHelp(u);
|
||||
notice_help(Config.s_ChanServ, u, CHAN_HELP_SET_TAIL);
|
||||
notice_help(Config.s_ChanServ, u, CHAN_HELP_SASET_TAIL);
|
||||
return true;
|
||||
}
|
||||
else
|
||||
|
||||
@@ -44,7 +44,7 @@ class CommandCSSetSecure : public Command
|
||||
|
||||
bool OnHelp(User *u, const Anope::string &)
|
||||
{
|
||||
notice_help(Config.s_ChanServ, u, CHAN_HELP_SET_SECURE, "SET");
|
||||
notice_help(Config.s_ChanServ, u, CHAN_HELP_SET_SECURE, "SET", Config.s_NickServ.c_str());
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ class CommandCSSetSecure : public Command
|
||||
|
||||
void OnServHelp(User *u)
|
||||
{
|
||||
notice_lang(Config.s_ChanServ, u, CHAN_HELP_CMD_SET_SECURE);
|
||||
notice_help(Config.s_ChanServ, u, CHAN_HELP_CMD_SET_SECURE);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -68,7 +68,7 @@ class CommandCSSASetSecure : public CommandCSSetSecure
|
||||
|
||||
bool OnHelp(User *u, const Anope::string &)
|
||||
{
|
||||
notice_help(Config.s_ChanServ, u, CHAN_HELP_SET_SECURE, "SASET");
|
||||
notice_help(Config.s_ChanServ, u, CHAN_HELP_SET_SECURE, "SASET", Config.s_NickServ.c_str());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user