Skip to content

Commit

Permalink
tweak(server/admin_server) pull sv_projectname convar as backup
Browse files Browse the repository at this point in the history
  • Loading branch information
Gravxd committed Jan 29, 2024
1 parent da66b0d commit bfa5c1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/admin_server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -948,8 +948,7 @@ Citizen.CreateThread(function()
PrintDebugMessage("Connection of "..getName(player).." Declined, Banned for "..blacklist[bi].reason..", Ban ID: "..blacklist[bi].banid.."\n", 3)

local banMessageTitleColour = GetConvar("ea_banMessageTitleColour", "#354557")
local banMessageServerName = GetConvar("sv_projectName", "EasyAdmin")
local banMessageShowStaff = GetConvar("ea_banMessageShowStaff", "true")
local banMessageServerName = GetConvar("ea_banMessageServerName", GetConvar("sv_projectName", "EasyAdmin")) local banMessageShowStaff = GetConvar("ea_banMessageShowStaff", "true")
local banMessageStaffName = blacklist[bi].banner
local banMessageFooter = GetConvar("ea_banMessageFooter", "You can appeal this by ban by visiting our discord.")
local banMessageSubHeader = GetConvar("ea_banMessageSubHeader", "You have been banned from this server.")
Expand Down

0 comments on commit bfa5c1d

Please sign in to comment.