summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/quotes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins/quotes.rb')
-rw-r--r--data/rbot/plugins/quotes.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/rbot/plugins/quotes.rb b/data/rbot/plugins/quotes.rb
index b795af53..917c6901 100644
--- a/data/rbot/plugins/quotes.rb
+++ b/data/rbot/plugins/quotes.rb
@@ -33,9 +33,9 @@ class QuotePlugin < Plugin
File.rename("#{@bot.botclass}/quotes/new/#{channel}",
"#{@bot.botclass}/quotes/#{channel}")
rescue => e
- $stderr.puts "failed to write quotefile for channel #{channel}!\n#{$!}"
- debug "#{e.class}: #{e}"
- debug e.backtrace.join("\n")
+ error "failed to write quotefile for channel #{channel}!\n#{$!}"
+ error "#{e.class}: #{e}"
+ error e.backtrace.join("\n")
end
}
end