]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commit - lib/rbot/ircbot.rb
ircbot: optimize ignore loops
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 28 Jan 2009 20:39:18 +0000 (21:39 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 28 Jan 2009 20:39:18 +0000 (21:39 +0100)
commitb9fd5f1df8db0a7e8654add8e7e1afb9099a022a
treee58f3bcab34df7539ca892379280f6c7332276c3
parent575c4c14d527e4dc06e015ffce7aafd6307a7692
ircbot: optimize ignore loops

Break early from ignore checks, and skip them altogether when the
message is ignored already.
lib/rbot/ircbot.rb