From 21d49d3fd33edbddb40a2abd10236d63c73e18a1 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 23 Apr 2017 12:00:09 +0200 Subject: [PATCH] small fix --- 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 262782c1..cd3c3303 100644 --- a/src/danog/MadelineProto/Wrappers/Login.php +++ b/src/danog/MadelineProto/Wrappers/Login.php @@ -140,7 +140,7 @@ trait Login public function complete_signup($first_name, $last_name) { if ($this->API->login_temp_status !== 'waiting_signup') { - throw new \danog\MadelineProto\Exception("I'm not waiting for the password! Please call the phone_login and the complete_phone_login methods first!"); + throw new \danog\MadelineProto\Exception("I'm not waiting to signup! Please call the phone_login and the complete_phone_login methods first!"); } $this->API->login_temp_status = 'none'; \danog\MadelineProto\Logger::log(['Signing up as a normal user...'], \danog\MadelineProto\Logger::NOTICE);