Whitelisting to bypass the reroute system.

Note, all ckeys in the ofwhitelist must be lowercase and contain no
spaces.
This commit is contained in:
Tigercat2000
2015-05-28 10:34:33 -07:00
parent 32fce7f501
commit 61e7fdb368
4 changed files with 19 additions and 2 deletions
+1
View File
@@ -37,6 +37,7 @@
if(config.player_overflow_cap && config.overflow_server_url) //Overflow rerouting, if set, forces players to be moved to a different server once a player cap is reached. Less rough than a pure kick.
if(src.client.holder) return //admins are immune to overflow rerouting
if(config.overflow_whitelist.Find(lowertext(src.ckey))) return //Whitelisted people are immune to overflow rerouting.
var/tally = 0
for(var/client/C in clients)
tally++