Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
DameonOwen committed Mar 10, 2024
1 parent 54acefe commit 7b77b7b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions code/modules/client/border_control.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ GLOBAL_VAR_INIT(borderControlFile, new /savefile("data/bordercontrol.db"))
GLOBAL_VAR_INIT(whitelistLoaded, 0)

//////////////////////////////////////////////////////////////////////////////////
/proc/BC_ModeToText(var/mode)
/proc/BC_ModeToText(mode)
switch(mode)
if(BORDER_CONTROL_DISABLED)
return "Disabled"
Expand All @@ -18,7 +18,7 @@ GLOBAL_VAR_INIT(whitelistLoaded, 0)
return "Enforced"

//////////////////////////////////////////////////////////////////////////////////
/proc/BC_IsKeyAllowedToConnect(var/key)
/proc/BC_IsKeyAllowedToConnect(key)
key = ckey(key)

var/borderControlMode = CONFIG_GET(number/border_control)
Expand All @@ -34,7 +34,7 @@ GLOBAL_VAR_INIT(whitelistLoaded, 0)
return BC_IsKeyWhitelisted(key)

//////////////////////////////////////////////////////////////////////////////////
/proc/BC_IsKeyWhitelisted(var/key)
/proc/BC_IsKeyWhitelisted(key)
key = ckey(key)

if(!GLOB.whitelistLoaded)
Expand Down Expand Up @@ -63,7 +63,7 @@ GLOBAL_VAR_INIT(whitelistLoaded, 0)


//////////////////////////////////////////////////////////////////////////////////
/proc/BC_WhitelistKey(var/key)
/proc/BC_WhitelistKey(key)
var/keyAsCkey = ckey(key)

if(!GLOB.whitelistLoaded)
Expand Down Expand Up @@ -105,7 +105,7 @@ GLOBAL_VAR_INIT(whitelistLoaded, 0)


//////////////////////////////////////////////////////////////////////////////////
/proc/BC_RemoveKey(var/key)
/proc/BC_RemoveKey(key)
key = ckey(key)

if(!LAZYISIN(GLOB.whitelistedCkeys, key))
Expand Down

0 comments on commit 7b77b7b

Please sign in to comment.