Keys in scope are strings, not symbols…
parent
06b011f715
commit
09b03ddb5c
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue