From 64afc0290beca61e83b100ffc5dda3597c50bd04 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 17 Jan 2017 01:52:52 +0100 Subject: [PATCH] Bugfix --- src/danog/MadelineProto/Wrappers/Login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/Wrappers/Login.php b/src/danog/MadelineProto/Wrappers/Login.php index df6559c7..8e107e1b 100644 --- a/src/danog/MadelineProto/Wrappers/Login.php +++ b/src/danog/MadelineProto/Wrappers/Login.php @@ -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!');