From: Matthias H Date: Fri, 6 Dec 2013 05:38:38 +0000 (+0100) Subject: workaround for broken pretty_inspect X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=bd2b1d26b59d3f5177c49141be937bee7188ec91;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git workaround for broken pretty_inspect --- diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb index a1713c2d..06a91c4d 100644 --- a/lib/rbot/ircbot.rb +++ b/lib/rbot/ircbot.rb @@ -1,3 +1,4 @@ +# encoding: UTF-8 #-- vim:sw=2:et #++ # @@ -59,7 +60,7 @@ def rawlog(level, message=nil, who_pos=1) when String str = message else - str = message.pretty_inspect + str = message.pretty_inspect rescue '?' end qmsg = Array.new str.each_line { |l|