Apply fixes from StyleCI
This commit is contained in:
parent
cac6b68920
commit
6e6fa9671e
@ -52,7 +52,9 @@ trait Login
|
|||||||
$this->API->updates_key = 0;
|
$this->API->updates_key = 0;
|
||||||
$this->API->get_updates_state();
|
$this->API->get_updates_state();
|
||||||
$this->API->should_serialize = true;
|
$this->API->should_serialize = true;
|
||||||
if (!isset($this->API->settings['pwr']['pwr']) || !$this->settings['pwr']['pwr']) file_get_contents('https://api.pwrtelegram.xyz/bot'.$token.'/getme');
|
if (!isset($this->API->settings['pwr']['pwr']) || !$this->settings['pwr']['pwr']) {
|
||||||
|
file_get_contents('https://api.pwrtelegram.xyz/bot'.$token.'/getme');
|
||||||
|
}
|
||||||
\danog\MadelineProto\Logger::log('Logged in successfully!');
|
\danog\MadelineProto\Logger::log('Logged in successfully!');
|
||||||
|
|
||||||
return $this->API->datacenter->authorization;
|
return $this->API->datacenter->authorization;
|
||||||
|
Loading…
Reference in New Issue
Block a user