better log message for incoming presence

darcs-hash:20080717132452-84dde-47017a07fa6a141062d50e7cd1b4473c20f4d25f.gz
This commit is contained in:
Evan Prodromou 2008-07-17 09:24:52 -04:00
parent 70d99a1289
commit fb62662650
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ class XMPPDaemon {
if (!$pl['type']) { if (!$pl['type']) {
$user = User::staticGet('jabber', $from); $user = User::staticGet('jabber', $from);
if (!$user) { if (!$user) {
$this->log(LOG_WARNING, 'Message from unknown user ' . $from); $this->log(LOG_WARNING, 'Presence from unknown user ' . $from);
return; return;
} }
if ($user->updatefrompresence) { if ($user->updatefrompresence) {