diff options
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; |