summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/time.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-19 11:39:18 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-19 11:39:18 +0200
commit087ff14d6117ef746bfad797a8088a7e6b74d5ac (patch)
tree308fadc42f93f3598f3be2594388723f21743a54 /data/rbot/plugins/time.rb
parent93314b5143834ec51d5b8f118ef343b59203c130 (diff)
rss plugin: return from select_nonempty() as soon as nonempty is found
Don't map over all parameters, because some parameters might not respond to empty?. Also, it's unnecessarily slow. Just return as soon as we found a nonempty parameter.
Diffstat (limited to 'data/rbot/plugins/time.rb')
0 files changed, 0 insertions, 0 deletions