local_user => local_channel
This commit is contained in:
@@ -426,7 +426,7 @@ function poco($a,$extended = false) {
|
||||
|
||||
$system_mode = false;
|
||||
|
||||
if(intval(get_config('system','block_public')) && (! local_user()) && (! remote_user())) {
|
||||
if(intval(get_config('system','block_public')) && (! local_channel()) && (! remote_user())) {
|
||||
logger('mod_poco: block_public');
|
||||
http_status_exit(401);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user