summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2015-03-24 23:10:40 +0100
committerRobert Gerus <arachnist@i.am-a.cat>2015-03-24 23:10:40 +0100
commitf6911da8c6afbd250587f4df14b9d9481403851f (patch)
treea6fcf1657bc9ca07550018c78f6eb65eea48b644
parent5e0c8eeeacddafb6208c6efee34f45e3d8b52dbb (diff)
downloadrepost-f6911da8c6afbd250587f4df14b9d9481403851f.tar.gz
repost-f6911da8c6afbd250587f4df14b9d9481403851f.tar.bz2
repost-f6911da8c6afbd250587f4df14b9d9481403851f.tar.xz
repost-f6911da8c6afbd250587f4df14b9d9481403851f.zip
hm?
-rw-r--r--plugins/eval.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/eval.rb b/plugins/eval.rb
index 0f27754..0099ab8 100644
--- a/plugins/eval.rb
+++ b/plugins/eval.rb
@@ -12,7 +12,7 @@ Client.register_trigger("PRIVMSG") { |msg|
eval(code)
}.call
- Client.privmsg(destination, String.try_convert(retval.to_s) + " => " + String.try_convert(retval.class))
+ Client.privmsg(destination, String.try_convert(retval.to_s) + " => " + retval.class.to_s)
rescue Exception => e
Client.privmsg(destination, e.inspect)
puts e.inspect