diff options
Diffstat (limited to 'extlib')
-rw-r--r-- | extlib/XMPPHP/XMLStream.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extlib/XMPPHP/XMLStream.php b/extlib/XMPPHP/XMLStream.php index 2ed2f5e02..4de23ef7f 100644 --- a/extlib/XMPPHP/XMLStream.php +++ b/extlib/XMPPHP/XMLStream.php @@ -242,7 +242,7 @@ class XMPPHP_XMLStream { * @param string $obj */ public function addEventHandler($name, $pointer, $obj) { - $this->eventhanders[] = array($name, $pointer, $obj); + $this->eventhandlers[] = array($name, $pointer, $obj); } /** @@ -521,7 +521,6 @@ class XMPPHP_XMLStream { if($handler[2] === null) { $handler[2] = $this; } - $this->log->log("Calling {$handler[1]}", XMPPHP_Log::LEVEL_DEBUG); $handler[2]->$handler[1]($payload); } } |