From 7b36562cfb71b8d1a579ec3b8626d7ce6c535a42 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 27 Dec 2016 11:45:57 +0100 Subject: [PATCH] Fixed misteak --- src/danog/MadelineProto/MTProto.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/MTProto.php b/src/danog/MadelineProto/MTProto.php index 8f2f2fc2..1fd18aab 100644 --- a/src/danog/MadelineProto/MTProto.php +++ b/src/danog/MadelineProto/MTProto.php @@ -48,7 +48,7 @@ class MTProto extends PrimeModule // Load rsa key \danog\MadelineProto\Logger::log('Loading RSA key...'); - $this->key = new RSA($settings['authorization']['rsa_key']); + $this->key = new RSA($this->settings['authorization']['rsa_key']); // Istantiate TL class \danog\MadelineProto\Logger::log('Translating tl schemas...');