summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-08-30 01:56:40 -0400
committerEvan Prodromou <evan@prodromou.name>2008-08-30 01:56:40 -0400
commit4e3b69014eb66a8d63daeb94a0b1b70368d0052b (patch)
tree7623bf3bd5aec36639cc8bc9dce07d9f55300e91
parent047db537261629da5aa4568a9b1d5741b02659a7 (diff)
get address from addresses
darcs-hash:20080830055640-84dde-2cd151d876f6586d827ecfc38e1b72d1cfb4950d.gz
-rwxr-xr-xscripts/xmppdaemon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php
index c7a4fc763..b57f8ef83 100755
--- a/scripts/xmppdaemon.php
+++ b/scripts/xmppdaemon.php
@@ -136,7 +136,7 @@ class XMPPDaemon {
$this->log(LOG_WARNING, 'Forwarded message without addresses');
return NULL;
}
- $address = $xml->sub('address');
+ $address = $addresses->sub('address');
if (!$address) {
$this->log(LOG_WARNING, 'Forwarded message without address');
return NULL;