1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 06:56:38 +02:00

Added Italics support to the BotSev kickers

This commit is contained in:
lethality
2010-08-02 03:35:12 +01:00
parent f887b37453
commit 94371e69a9
21 changed files with 388 additions and 2 deletions
+10 -1
View File
@@ -157,7 +157,16 @@ class CommandBSInfo : public Command
}
else
notice_lang(Config.s_BotServ, u, BOT_INFO_CHAN_KICK_UNDERLINES, getstring(u, BOT_INFO_INACTIVE));
if (ci->botflags.HasFlag(BS_KICK_ITALICS))
{
if (ci->ttb[TTB_ITALICS])
notice_lang(Config.s_BotServ, u, BOT_INFO_CHAN_KICK_ITALICS_BAN, getstring(u, BOT_INFO_ACTIVE), ci->ttb[TTB_ITALICS]);
else
notice_lang(Config.s_BotServ, u, BOT_INFO_CHAN_KICK_ITALICS, getstring(u, BOT_INFO_ACTIVE));
}
else
notice_lang(Config.s_BotServ, u, BOT_INFO_CHAN_KICK_ITALICS, getstring(u, BOT_INFO_INACTIVE));
end = buf;
*end = 0;
if (ci->botflags.HasFlag(BS_DONTKICKOPS))