1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 07:53:12 +02:00

Added amsg kicker settings to /bs info

This commit is contained in:
Adam
2011-01-18 18:41:16 -05:00
parent 4a3ee91c55
commit 34c6c664c9
4 changed files with 17 additions and 1 deletions
+10
View File
@@ -162,6 +162,16 @@ class CommandBSInfo : public Command
}
else
source.Reply(BOT_INFO_CHAN_KICK_ITALICS, GetString(u, BOT_INFO_INACTIVE).c_str());
if (ci->botflags.HasFlag(BS_KICK_AMSGS))
{
if (ci->ttb[TTB_AMSGS])
source.Reply(BOT_INFO_CHAN_KICK_AMSGS_BAN, GetString(u, BOT_INFO_ACTIVE).c_str(), ci->ttb[TTB_AMSGS]);
else
source.Reply(BOT_INFO_CHAN_KICK_AMSGS, GetString(u, BOT_INFO_ACTIVE).c_str());
}
else
source.Reply(BOT_INFO_CHAN_KICK_AMSGS, GetString(u, BOT_INFO_INACTIVE).c_str());
if (ci->botflags.HasFlag(BS_MSG_PRIVMSG))
source.Reply(BOT_INFO_CHAN_MSG, "PRIVMSG");
else if (ci->botflags.HasFlag(BS_MSG_NOTICE))