Example #1
0
 public static string EvadeChannelLinkBlock(BotMessage message, string link)
 {
     return((message.TargetType == IRCMessage.TargetTypes.CHANNEL && ChannelList.ChannelHasMode(message.ReplyTo, 'U')) ? EvadeLinkBlock(link) : link);
 }
Example #2
0
        public static string GetUserModes(string nick, string channel)
        {
            int channelID, userID = ChannelList.GetUserID(nick, channel, out channelID);

            return(ChannelList.Channels[channelID].Users[userID].Symbols);
        }