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');
|
throw new Exception('Provided script does not exist');
|
||||||
}
|
}
|
||||||
$this->MadelineProto = $MadelineProto;
|
$this->MadelineProto = $MadelineProto;
|
||||||
$settings = $this->MadelineProto->get_settings();
|
$this->MadelineProto->settings['updates']['handle_updates'] = true;
|
||||||
$settings['updates']['handle_updates'] = true;
|
|
||||||
$this->MadelineProto->parse_settings($settings);
|
|
||||||
$this->script = $script;
|
$this->script = $script;
|
||||||
$this->__wakeup();
|
$this->__wakeup();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user