mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
Puts multi instance stuff behind a define (#23666)
This commit is contained in:
@@ -30,10 +30,12 @@
|
||||
admin = 1
|
||||
|
||||
// Lets see if they are logged in on another paradise server
|
||||
#ifdef MULTIINSTANCE
|
||||
if(SSdbcore.IsConnected())
|
||||
var/other_server_login = SSinstancing.check_player(ckey)
|
||||
if(other_server_login)
|
||||
return list("reason"="duplicate login", "desc"="\nReason: You are already logged in on server '[other_server_login]'. Please contact the server host if you believe this is an error.")
|
||||
#endif
|
||||
|
||||
//Guest Checking
|
||||
if(GLOB.configuration.general.guest_ban && check_guest && IsGuestKey(key))
|
||||
|
||||
Reference in New Issue
Block a user