Backwards compatibility
This commit is contained in:
parent
3dc3d6e5c8
commit
c1a8229ff3
|
@ -23,6 +23,7 @@ class EventHandler extends APIFactory
|
|||
{
|
||||
public function __construct($MadelineProto)
|
||||
{
|
||||
if (!$MadelineProto) return;
|
||||
$this->API = $MadelineProto->API;
|
||||
$this->async = &$MadelineProto->async;
|
||||
$this->methods = &$MadelineProto->methods;
|
||||
|
|
Loading…
Reference in New Issue
Block a user