mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 10:59:02 +01:00
bugfix
This commit is contained in:
parent
cfb40128e5
commit
d9ca05fa86
@ -514,8 +514,10 @@ Slv8kg9qv1m6XHVQY3PnEw+QQtqSIXklHwIDAQAB
|
||||
|
||||
public function parse_config()
|
||||
{
|
||||
$this->parse_dc_options($this->config['dc_options']);
|
||||
unset($this->config['dc_options']);
|
||||
if (isset($this->config['dc_options'])) {
|
||||
$this->parse_dc_options($this->config['dc_options']);
|
||||
unset($this->config['dc_options']);
|
||||
}
|
||||
\danog\MadelineProto\Logger::log(['Updated config!', $this->config], Logger::NOTICE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user