Keys in scope are strings, not symbols…

configuration-in-hiera
Robert Gerus 2015-04-16 12:24:13 +02:00
parent 06b011f715
commit 09b03ddb5c
1 changed files with 1 additions and 1 deletions

View File

@ -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 {