]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commit - lib/rbot/ircbot.rb
ircbot: irc.ignore_channels config option
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 28 Jan 2009 20:36:38 +0000 (21:36 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 28 Jan 2009 20:36:45 +0000 (21:36 +0100)
commit575c4c14d527e4dc06e015ffce7aafd6307a7692
tree340f57c0ebf0c4f17743dfbdfc93e7642e135967
parent810ada4dd1a8dfe894c90dfd135ac7b339864d21
ircbot: irc.ignore_channels config option

In some circumstances the user might want to turn the bot into a pure
logbot for some channels. This can now be achieved by adding that
channel to the irc.ignore_channels config key, that makes the bot ignore
all PRIVMSG to that channel (note that notices and service messages such
as joins and parts are still acted on, just like for irc.ignore_users).
lib/rbot/ircbot.rb