summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthias Hecker <apoc@sixserv.org>2013-11-26 16:13:30 +0000
committerMatthias Hecker <apoc@sixserv.org>2013-12-04 23:52:42 +0000
commit36945637c27ee97110db95ca449605fadd195381 (patch)
tree6a80522af5a0809e230781217c0d3c7d69924df1 /lib
parent4edbafeae8a68476b0cb6faa121715303eedaa1d (diff)
Revert "always print FATAL and ERROR logmessages to STDERR"
This reverts commit c4d629ad86aae3b8bb4669650df57875252bea92.
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/ircbot.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb
index 108d0b1d..a1713c2d 100644
--- a/lib/rbot/ircbot.rb
+++ b/lib/rbot/ircbot.rb
@@ -66,10 +66,6 @@ def rawlog(level, message=nil, who_pos=1)
qmsg.push [level, l.chomp, who]
who = ' ' * who.size
}
- # Also output (fatal) errors to STDERR:
- if level == Logger::Severity::ERROR or level == Logger::Severity::FATAL
- $stderr.puts str
- end
$log_queue.push qmsg
end