From: Evan Prodromou Date: Sat, 30 Aug 2008 05:56:40 +0000 (-0400) Subject: get address from addresses X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4e3b69014eb66a8d63daeb94a0b1b70368d0052b;p=quix0rs-gnu-social.git get address from addresses darcs-hash:20080830055640-84dde-2cd151d876f6586d827ecfc38e1b72d1cfb4950d.gz --- diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php index c7a4fc7638..b57f8ef839 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;