Merge branch 'master' of https://github.com/danog/MadelineProto
This commit is contained in:
commit
841b95f54e
@ -32,7 +32,9 @@ if (!extension_loaded('pthreads')) {
|
|||||||
|
|
||||||
public function start()
|
public function start()
|
||||||
{
|
{
|
||||||
if (!isset($this->state)) $this->state = 0;
|
if (!isset($this->state)) {
|
||||||
|
$this->state = 0;
|
||||||
|
}
|
||||||
if ($this->state & self::STARTED) {
|
if ($this->state & self::STARTED) {
|
||||||
throw new \RuntimeException();
|
throw new \RuntimeException();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user