diff options
Diffstat (limited to 'routes/user.php')
| -rw-r--r-- | routes/user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/user.php b/routes/user.php index 5532448..8626c38 100644 --- a/routes/user.php +++ b/routes/user.php @@ -6,7 +6,7 @@ use Digitigrade\Router; Router::getInstance()->mount('/@/:handle', function (array $args) { $actor = Actor::findLocalByHandle($args['handle']); - if ($actor == null) { + if ($actor == null || $actor->deleted) { throw new NotFound("i don't know any local user called " . $args['handle']); } |
