1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 10:38:59 +01:00
This commit is contained in:
Daniil Gentili 2017-05-28 03:34:08 +01:00
commit 841b95f54e

View File

@ -32,7 +32,9 @@ if (!extension_loaded('pthreads')) {
public function start()
{
if (!isset($this->state)) $this->state = 0;
if (!isset($this->state)) {
$this->state = 0;
}
if ($this->state & self::STARTED) {
throw new \RuntimeException();
}