diff --git a/XMPPHP/XMLStream.php b/XMPPHP/XMLStream.php index 6f4ca67..4de23ef 100644 --- a/XMPPHP/XMLStream.php +++ b/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); } /**