Lua fixes
This commit is contained in:
parent
cb89d45f86
commit
cc815a7548
@ -25,9 +25,7 @@ class Lua
|
||||
throw new Exception('Provided script does not exist');
|
||||
}
|
||||
$this->MadelineProto = $MadelineProto;
|
||||
$settings = $this->MadelineProto->get_settings();
|
||||
$settings['updates']['handle_updates'] = true;
|
||||
$this->MadelineProto->parse_settings($settings);
|
||||
$this->MadelineProto->settings['updates']['handle_updates'] = true;
|
||||
$this->script = $script;
|
||||
$this->__wakeup();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user