summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2015-03-24 23:08:45 +0100
committerRobert Gerus <arachnist@i.am-a.cat>2015-03-24 23:08:45 +0100
commit5e0c8eeeacddafb6208c6efee34f45e3d8b52dbb (patch)
treebc6417d4fb697da037ff0a5c5bd3a23ee0cd0fa5
parentf82ba8af0797806e08ab608d931e265ef97046d5 (diff)
downloadrepost-5e0c8eeeacddafb6208c6efee34f45e3d8b52dbb.tar.gz
repost-5e0c8eeeacddafb6208c6efee34f45e3d8b52dbb.tar.bz2
repost-5e0c8eeeacddafb6208c6efee34f45e3d8b52dbb.tar.xz
repost-5e0c8eeeacddafb6208c6efee34f45e3d8b52dbb.zip
230721 | antoszka | ar: mógłby też zwracać typ danych, jak ood
-rw-r--r--plugins/eval.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/eval.rb b/plugins/eval.rb
index 380118b..0f27754 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))
+ Client.privmsg(destination, String.try_convert(retval.to_s) + " => " + String.try_convert(retval.class))
rescue Exception => e
Client.privmsg(destination, e.inspect)
puts e.inspect