Module: Irc

Module Irc |
In: | rbot/ircbot.rb rbot/config.rb rbot/rfc2812.rb rbot/utils.rb rbot/plugins.rb rbot/message.rb rbot/language.rb rbot/keywords.rb rbot/ircsocket.rb rbot/channel.rb rbot/auth.rb

Methods

ismask netmaskmatch

Classes and Modules

Module Irc::Utils
Class Irc::BasicUserMessage
Class Irc::BotConfig
Class Irc::IRCChannel
Class Irc::IrcAuth
Class Irc::IrcBot
Class Irc::IrcClient
Class Irc::IrcSocket
Class Irc::JoinMessage
Class Irc::Keyword
Class Irc::Keywords
Class Irc::KickMessage
Class Irc::Language
Class Irc::NoticeMessage
Class Irc::PartMessage
Class Irc::Plugin
Class Irc::Plugins
Class Irc::PrivMessage
Class Irc::UserMessage

Public Class methods

netmaskmatch(globmask, netmask)

globmask: | glob to test with
netmask: | netmask to test against

Compare a netmask with a standard IRC glob, e.g foo!bar@baz.com would match *!*@baz.com, foo!*@*, *!bar@*, etc.

ismask(mask)

check if a string is an actual IRC hostmask