lost a couple of variables
darcs-hash:20080626203935-34904-bf73b91cc008b28a0d0d2187dfaa346784c23afd.gz
This commit is contained in:
parent
48cac45fd9
commit
5527d6b535
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user