Fix the fix fixing the fix

configuration-in-hiera
Robert Gerus 2015-04-16 11:57:25 +02:00
parent 6c868ce15d
commit 711b7adfbc
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ Client.register_trigger("PRIVMSG", "eval") { |msg|
destination = msg[:params][0]
if message[0..5] == ":eval " then
if Config.lookup("eval::owners", "", msg[:scope]).include?(msg[:prefix]) then
if Config.lookup("eval::owners", [], msg[:scope]).include?(msg[:scope][:person]) then
code = message[6..-1]
begin
retval = proc {