This commit is contained in:
Daniil Gentili 2017-01-17 01:52:52 +01:00
parent 494fdcfdd4
commit 64afc0290b

View File

@ -52,7 +52,7 @@ trait Login
$this->API->updates_key = 0;
$this->API->get_updates_state();
$this->API->should_serialize = true;
if (!isset($this->API->settings['pwr']['pwr']) || !$this->settings['pwr']['pwr']) {
if (!isset($this->API->settings['pwr']['pwr']) || !$this->API->settings['pwr']['pwr']) {
file_get_contents('https://api.pwrtelegram.xyz/bot'.$token.'/getme');
}
\danog\MadelineProto\Logger::log('Logged in successfully!');