diff options
Diffstat (limited to 'data/rbot/plugins/quotes.rb')
-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 6094737c..10743dfa 100644 --- a/data/rbot/plugins/quotes.rb +++ b/data/rbot/plugins/quotes.rb @@ -49,6 +49,7 @@ class QuotePlugin < Plugin return false unless(@lists[channel].length > 0) if(@lists[channel][num]) @lists[channel][num] = nil + @lists[channel].pop if num == @lists[channel].length - 1 return true end return false |