1
0
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:
lethality
2010-08-14 14:16:21 +01:00
parent c24ec06861
commit 4d0a1aaabd
16 changed files with 75 additions and 8 deletions
+1 -1
View File
@@ -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
+3 -3
View File
@@ -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;
}