From 37844c1bb41eeb3f1ca57e371fb7b37eb2b8b809 Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Wed, 5 Feb 2020 21:09:33 +0800 Subject: [PATCH] fix --- app/Http/Controllers/Client/ClientController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Client/ClientController.php b/app/Http/Controllers/Client/ClientController.php index 9cce9994..87a3c62a 100755 --- a/app/Http/Controllers/Client/ClientController.php +++ b/app/Http/Controllers/Client/ClientController.php @@ -14,7 +14,7 @@ class ClientController extends Controller { $user = $request->user; $server = []; - if ($user->expired_at > time()) { + if ($user->expired_at > time() && !$user->banned) { $servers = Server::where('show', 1) ->orderBy('name') ->get();