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 e08d8f9a..b795af53 100644 --- a/data/rbot/plugins/quotes.rb +++ b/data/rbot/plugins/quotes.rb @@ -7,6 +7,7 @@ class QuotePlugin < Plugin super @lists = Hash.new Dir["#{@bot.botclass}/quotes/*"].each {|f| + next if File.directory?(f) channel = File.basename(f) @lists[channel] = Array.new if(!@lists.has_key?(channel)) IO.foreach(f) {|line| |