From bd2b1d26b59d3f5177c49141be937bee7188ec91 Mon Sep 17 00:00:00 2001 From: Matthias H Date: Fri, 6 Dec 2013 06:38:38 +0100 Subject: [PATCH] workaround for broken pretty_inspect --- lib/rbot/ircbot.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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| -- 2.39.2