summaryrefslogtreecommitdiff
path: root/scripts/xmppdaemon.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/xmppdaemon.php')
-rwxr-xr-xscripts/xmppdaemon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php
index b1cdb914c..d3e767e09 100755
--- a/scripts/xmppdaemon.php
+++ b/scripts/xmppdaemon.php
@@ -95,7 +95,7 @@ class XMPPDaemon {
# Forwarded from another daemon (probably a broadcaster) for
# us to handle
- if (preg_match('/^'.jabber_daemon_address().'/', $from)) {
+ if (preg_match('/^'.strtolower(jabber_daemon_address()).'/', strtolower($from))) {
$from = $this->get_ofrom($pl);
if (is_null($from)) {
return;