diff options
author | Evan Prodromou <evan@controlezvous.ca> | 2008-06-26 16:39:35 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlezvous.ca> | 2008-06-26 16:39:35 -0400 |
commit | 5527d6b5359a022256e91c258c78d2881ef9f086 (patch) | |
tree | c059f3c1bc6346bd47c0b282dcd9cb3dea4ca372 /xmppdaemon.php | |
parent | 48cac45fd9e2c13ee66b32059552acf831515599 (diff) |
lost a couple of variables
darcs-hash:20080626203935-34904-bf73b91cc008b28a0d0d2187dfaa346784c23afd.gz
Diffstat (limited to 'xmppdaemon.php')
-rwxr-xr-x | xmppdaemon.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmppdaemon.php b/xmppdaemon.php index cc464f155..afe248c8e 100755 --- a/xmppdaemon.php +++ b/xmppdaemon.php @@ -111,6 +111,10 @@ class XMPPDaemon { if (strlen($pl['body']) == 0) { return; } + + $from = jabber_normalize_jid($pl['from']); + $user = $this->get_user($from); + if (!$user) { $this->log(LOG_WARNING, 'Message from unknown user ' . $from); return; |