diff options
author | Matthias H <apoc@sixserv.org> | 2013-12-06 06:38:38 +0100 |
---|---|---|
committer | Matthias H <apoc@sixserv.org> | 2013-12-06 06:38:38 +0100 |
commit | bd2b1d26b59d3f5177c49141be937bee7188ec91 (patch) | |
tree | a6cc07b66d4223db3cc6d087d274f04726727f5b /lib/rbot/ircbot.rb | |
parent | 0f7ba7ef464f864091940b18c53113d10665795f (diff) |
workaround for broken pretty_inspect
Diffstat (limited to 'lib/rbot/ircbot.rb')
-rw-r--r-- | lib/rbot/ircbot.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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| |