non-existent poco

This commit is contained in:
Evan Prodromou 2012-01-27 15:32:13 -05:00
parent d28f726c5c
commit e4085087f1

View File

@ -505,6 +505,7 @@ class BlacklistPlugin extends Plugin
} }
} }
if (!empty($actor->poco)) {
$nickname = strtolower($actor->poco->preferredUsername); $nickname = strtolower($actor->poco->preferredUsername);
if (!empty($nickname)) { if (!empty($nickname)) {
@ -515,6 +516,7 @@ class BlacklistPlugin extends Plugin
throw new ClientException($msg); throw new ClientException($msg);
} }
} }
}
return true; return true;
} }