bugfix
This commit is contained in:
parent
6cc990217f
commit
0f51cbdf22
@ -204,9 +204,7 @@ class MTProto
|
|||||||
|
|
||||||
// Connect to servers
|
// Connect to servers
|
||||||
\danog\MadelineProto\Logger::log([\danog\MadelineProto\Lang::$current_lang['inst_dc']], Logger::ULTRA_VERBOSE);
|
\danog\MadelineProto\Logger::log([\danog\MadelineProto\Lang::$current_lang['inst_dc']], Logger::ULTRA_VERBOSE);
|
||||||
if (isset($this->datacenter)) {
|
if (!isset($this->datacenter)) {
|
||||||
$this->connect_to_all_dcs(); //datacenter->__construct($this->settings['connection'], $this->settings['connection_settings']);
|
|
||||||
} else {
|
|
||||||
$this->datacenter = new DataCenter($this->settings['connection'], $this->settings['connection_settings']);
|
$this->datacenter = new DataCenter($this->settings['connection'], $this->settings['connection_settings']);
|
||||||
}
|
}
|
||||||
// Load rsa keys
|
// Load rsa keys
|
||||||
|
Loading…
Reference in New Issue
Block a user