Possible fix for ooc issues with remote-authed clients (#6841)

This commit is contained in:
Werner
2019-08-11 12:59:01 +02:00
committed by GitHub
parent 71b0c81dc1
commit 349bb9fe9a
2 changed files with 2 additions and 0 deletions
@@ -29,6 +29,7 @@
show_browser(src, null, "window=auth;")
client.verbs += typesof(/client/verb) // Let's return regular client verbs
client.authed = TRUE // We declare client as authed now
client.prefs = null //Null them so we can load them from the db again for the correct ckey
// Check for bans
var/list/ban_data = world.IsBanned(ckey(newkey), c.address, c.computer_id, 1, TRUE)
if(ban_data)