summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/quotes.rb
diff options
context:
space:
mode:
authorRaine Virta <rane@kapsi.fi>2009-02-19 16:26:34 +0200
committerRaine Virta <rane@kapsi.fi>2009-02-19 16:26:34 +0200
commit783ffa4235330029d661752b1023db635b26f2b3 (patch)
treee60c7a89e7053120b33810230401f5490a3cb697 /data/rbot/plugins/quotes.rb
parentff452ad1bf111025f0661274ac7fb8b2f769a293 (diff)
remove whitespace
Diffstat (limited to 'data/rbot/plugins/quotes.rb')
-rw-r--r--data/rbot/plugins/quotes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/quotes.rb b/data/rbot/plugins/quotes.rb
index 2a646789..a18f1eba 100644
--- a/data/rbot/plugins/quotes.rb
+++ b/data/rbot/plugins/quotes.rb
@@ -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