From 4e3b69014eb66a8d63daeb94a0b1b70368d0052b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 30 Aug 2008 01:56:40 -0400 Subject: get address from addresses darcs-hash:20080830055640-84dde-2cd151d876f6586d827ecfc38e1b72d1cfb4950d.gz --- scripts/xmppdaemon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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; -- cgit v1.2.3-54-g00ecf