diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-01-30 15:40:27 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-01-30 15:40:27 +0100 |
commit | ff5357cc9a5778a3cb8231bc01122bd0cd6f772d (patch) | |
tree | cd637bb96d49df5d9045e04abb764de1f432220f /data | |
parent | eb6fc83e7a46a23ce8ffa7750ae62dcb0574769b (diff) |
quotes plugin: add missing 'lastquote :channel' map
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/quotes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/quotes.rb b/data/rbot/plugins/quotes.rb index 257bf880..c631527f 100644 --- a/data/rbot/plugins/quotes.rb +++ b/data/rbot/plugins/quotes.rb @@ -276,6 +276,7 @@ plugin.map "whenquote :channel :num", :action => :cmd_whenquote, :requirements = plugin.map "searchquote :channel *reg", :action => :cmd_searchquote, :requirements => { :channel => Regexp::Irc::GEN_CHAN }, :auth_path => '!quote::other::view::search!' plugin.map "countquote :channel [*reg]", :action => :cmd_countquote, :requirements => { :channel => Regexp::Irc::GEN_CHAN }, :auth_path => '!quote::other::view::count!' plugin.map "topicquote :channel [:num]", :action => :cmd_topicquote, :requirements => { :channel => Regexp::Irc::GEN_CHAN, :num => /^\d+$/ }, :auth_path => '!quote::other::topic!' +plugin.map "lastquote :channel", :action => :cmd_lastquote, :requirements => { :channel => Regexp::Irc::GEN_CHAN }, :auth_path => '!quote::other::view::last!' plugin.default_auth('edit', false) # Prevent random people from removing quotes plugin.default_auth('edit::add', true) # But allow them to add them |