diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php index d3e767e094..c7a4fc7638 100755 --- a/scripts/xmppdaemon.php +++ b/scripts/xmppdaemon.php @@ -131,7 +131,7 @@ class XMPPDaemon { function get_ofrom($pl) { $xml = $pl['raw']; - $addresses = $xml->sub('adddresses'); + $addresses = $xml->sub('addresses'); if (!$addresses) { $this->log(LOG_WARNING, 'Forwarded message without addresses'); return NULL;