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

Added /bs set msg

This commit is contained in:
Adam
2010-11-26 10:15:48 -06:00
parent cb6ef574e3
commit 2b10cc84ea
10 changed files with 108 additions and 13 deletions
+6
View File
@@ -162,6 +162,12 @@ class CommandBSInfo : public Command
}
else
source.Reply(BOT_INFO_CHAN_KICK_ITALICS, 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))
source.Reply(BOT_INFO_CHAN_MSG, "NOTICE");
else if (ci->botflags.HasFlag(BS_MSG_NOTICEOPS))
source.Reply(BOT_INFO_CHAN_MSG, "NOTICEOPS");
end = buf;
*end = 0;