This commit is contained in:
Daniil Gentili 2017-05-10 23:43:50 +01:00
parent cfb40128e5
commit d9ca05fa86

View File

@ -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);
}