summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbot/ircbot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb
index 4eac68d6..91586c6a 100644
--- a/lib/rbot/ircbot.rb
+++ b/lib/rbot/ircbot.rb
@@ -445,7 +445,7 @@ class Bot
log str, 2
return str.to_s.size
end
- def $stdout.write(str=nil)
+ def $stderr.write(str=nil)
if str.to_s.match(/:\d+: warning:/)
warning str, 2
else