mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-17 22:33:13 +09:00
Fix lint errors on new luals version (#384)
This commit is contained in:
1 parent
3dbdb2071f
commit
aedc3cff6b
7 files changed
+11
-8
No files matched your search
@@ -34,7 +34,7 @@ local function get_server_id(server)
|
||||
if server_count > 1 then
|
||||
return false, { "exp-commands_connect.too-many-matching", concat(server_names, ", ") }
|
||||
elseif server_count == 1 then
|
||||
local server_id, server_details = next(servers)
|
||||
local server_id, server_details = next(servers) --- @cast server_details -nil
|
||||
local status = External.get_server_status(server_id)
|
||||
if server_id == current_server.id then
|
||||
return false, { "exp-commands_connect.same-server", server_details.name }
|
||||
|
||||
Reference in new issue
Block a user