summaryrefslogtreecommitdiff
path: root/extlib
diff options
context:
space:
mode:
authorCiaranG <ciaran@ciarang.com>2008-08-26 16:00:57 -0400
committerCiaranG <ciaran@ciarang.com>2008-08-26 16:00:57 -0400
commitb6d67b06d45d4fd783e91b1b1aeb17501c6df871 (patch)
treec5b381af12d61ae2f422df592639bec50788c28e /extlib
parent28ed51085492aec09d70c2acfee1f1e2a5574968 (diff)
XMPP daemon that doesn't eat messages - note change to XMPPHP as well (Ticket #551)
darcs-hash:20080826200057-f6e2c-fb9a88251d034824218d20b3fefcde96ddaef827.gz
Diffstat (limited to 'extlib')
-rw-r--r--extlib/XMPPHP/XMLStream.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/extlib/XMPPHP/XMLStream.php b/extlib/XMPPHP/XMLStream.php
index 4de23ef7f..2ed2f5e02 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->eventhandlers[] = array($name, $pointer, $obj);
+ $this->eventhanders[] = array($name, $pointer, $obj);
}
/**
@@ -521,6 +521,7 @@ 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);
}
}