strtolower jids for comparison

darcs-hash:20080830052143-84dde-81ba3f1e687605d23e9bdc2c3672ac7ae36f9b60.gz
This commit is contained in:
Evan Prodromou
2008-08-30 01:21:43 -04:00
parent 4cdd90283b
commit 706dc53d40
2 changed files with 4 additions and 1 deletions

View File

@@ -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;