]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commit
quotes plugin: 'other channel' commands must be mapped earlier
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 30 Jan 2009 14:35:03 +0000 (15:35 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 30 Jan 2009 14:35:03 +0000 (15:35 +0100)
commiteb6fc83e7a46a23ce8ffa7750ae62dcb0574769b
tree9a735c306c3e5617dadcc5fd04a22ef09f5b9bff
parent5a9ba6d2a961db5682728f42d5bce14941d74e1c
quotes plugin: 'other channel' commands must be mapped earlier

Due to the way mapping work, quote commands whose first parameter is a
channel must be mapped before the ones that implicitly refer to the
current channel.

This has the upside that they really work, and the downside that
commands that refer to the current channel must specify the channel if
their argument begins wit something that looks like a channel spec.
However, this last case is extremely rare, so we're fine.
data/rbot/plugins/quotes.rb