Skip to content

Commit 07d3ab2

Browse files
committed
Make the VPN message not say banned.
1 parent cbf3763 commit 07d3ab2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

LuaMenu/widgets/gui_login_window.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,11 @@ local function InitializeListeners()
166166
lobby:Disconnect()
167167
if currentLoginWindow and not registerRecieved then
168168
if err == "Banned" and extendedReason then
169-
currentLoginWindow.txtError:SetText(Configuration:GetErrorColor() .. "Banned - End time is in UTC. " .. extendedReason)
169+
if extendedReason == "Connection using proxy or VPN is not allowed! (You can ask for exception)" then
170+
currentLoginWindow.txtError:SetText(Configuration:GetErrorColor() .. extendedReason)
171+
else
172+
currentLoginWindow.txtError:SetText(Configuration:GetErrorColor() .. "Banned - End time is in UTC. " .. extendedReason)
173+
end
170174
currentLoginWindow:ResizeWindow()
171175
else
172176
currentLoginWindow.txtError:SetText(Configuration:GetErrorColor() .. (err or "Denied, unknown reason"))

0 commit comments

Comments
 (0)