diff --git a/plugins/eval.rb b/plugins/eval.rb index 5ad755a..af99166 100644 --- a/plugins/eval.rb +++ b/plugins/eval.rb @@ -9,7 +9,7 @@ Client.register_trigger("PRIVMSG", "eval") { |msg| end if message[0..5] == ":eval " then - if Config.lookup("eval::owners", [], msg[:scope]).include?(msg[:scope][:person]) then + if Config.lookup("eval::owners", [], msg[:scope]).include?(msg[:scope]["person"]) then code = message[6..-1] begin retval = proc {