diff options
author | Robert Gerus <arachnist@i.am-a.cat> | 2015-03-24 23:08:45 +0100 |
---|---|---|
committer | Robert Gerus <arachnist@i.am-a.cat> | 2015-03-24 23:08:45 +0100 |
commit | 5e0c8eeeacddafb6208c6efee34f45e3d8b52dbb (patch) | |
tree | bc6417d4fb697da037ff0a5c5bd3a23ee0cd0fa5 | |
parent | f82ba8af0797806e08ab608d931e265ef97046d5 (diff) | |
download | repost-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.rb | 2 |
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 |