diff options
author | Robby- <robby@chat.be> | 2013-09-30 20:40:42 +0200 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-10-05 00:33:02 -0400 |
commit | ba5a3f5f00609a5d82abd9e255dc93ee44d0e8f4 (patch) | |
tree | 4af9c6014a53eec8d218b40e958db73e7273861b /modules/commands/bs_kick.cpp | |
parent | 7b6c08b53a3ee5339aeeebd04892d6c9a1de5465 (diff) |
Don't explicitly reference services nicks.
os_forbid: If NickServ is available, have it send the forbid reason instead of OperServ.
Diffstat (limited to 'modules/commands/bs_kick.cpp')
-rw-r--r-- | modules/commands/bs_kick.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/commands/bs_kick.cpp b/modules/commands/bs_kick.cpp index b0ff8b26e..5360746f5 100644 --- a/modules/commands/bs_kick.cpp +++ b/modules/commands/bs_kick.cpp @@ -267,13 +267,14 @@ class CommandBSKickAMSG : public CommandBSKickBase bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override { + BotInfo *bi = Config->GetClient("BotServ"); source.Reply(_("Sets the AMSG kicker on or off. When enabled, the bot will\n" "kick users who send the same message to multiple channels\n" - "where BotServ bots are.\n" + "where %s bots are.\n" " \n" "\037ttb\037 is the number of times a user can be kicked\n" "before they get banned. Don't give ttb to disable\n" - "the ban system once activated.")); + "the ban system once activated."), bi ? bi->nick.c_str() : "BotServ"); return true; } }; |