diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-08-30 01:56:40 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-08-30 01:56:40 -0400 |
commit | 4e3b69014eb66a8d63daeb94a0b1b70368d0052b (patch) | |
tree | 7623bf3bd5aec36639cc8bc9dce07d9f55300e91 /scripts | |
parent | 047db537261629da5aa4568a9b1d5741b02659a7 (diff) |
get address from addresses
darcs-hash:20080830055640-84dde-2cd151d876f6586d827ecfc38e1b72d1cfb4950d.gz
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/xmppdaemon.php | 2 |
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; |