diff options
author | Adam <Adam@anope.org> | 2010-11-26 10:15:48 -0600 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-12-12 19:36:19 -0500 |
commit | 2b10cc84eab6cb9253611a090eb3ef67a6d3d0a7 (patch) | |
tree | ba269569cc768e14aeb49f25d639a955055ad337 /modules/core/bs_info.cpp | |
parent | cb6ef574e3df5cc846247450b74ca37d265f319e (diff) |
Added /bs set msg
Diffstat (limited to 'modules/core/bs_info.cpp')
-rw-r--r-- | modules/core/bs_info.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/core/bs_info.cpp b/modules/core/bs_info.cpp index 0a86748c3..7c3ea2ef9 100644 --- a/modules/core/bs_info.cpp +++ b/modules/core/bs_info.cpp @@ -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; |