Fix the fix fixing the fix
parent
6c868ce15d
commit
711b7adfbc
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue