]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/quotes.rb
remove whitespace
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / quotes.rb
index 2a6467896fe3cb54775906ff8b156d09fb3291ea..a18f1ebac5b2d645f72ed57fa0c060af980f34f8 100644 (file)
@@ -37,7 +37,7 @@ class QuotePlugin < Plugin
         if @changed[channel]
           debug "Writing new quotefile for channel #{channel} ..."
           Utils.safe_save(datafile channel) {|file|
-            quotes.compact.each {|q| 
+            quotes.compact.each {|q|
               file.puts "#{q.num} | #{q.date} | #{q.source} | #{q.quote}"
             }
           }
@@ -65,7 +65,7 @@ class QuotePlugin < Plugin
 
   def addquote(source, channel, quote)
     @lists[channel] = Array.new if(!@lists.has_key?(channel))
-    num = @lists[channel].length 
+    num = @lists[channel].length
     @lists[channel][num] = Quote.new(num, Time.new, source.fullform, quote)
     @changed[channel] = true
     return num