Reworking Bot API and optimizing for loops in admin code (#6355)

This commit is contained in:
Mykhailo Bykhovtsev
2019-05-01 14:14:26 +02:00
committed by Werner
parent 5bf33373c9
commit 81e7f29878
21 changed files with 121 additions and 55 deletions
+2 -2
View File
@@ -338,7 +338,7 @@
//Admin Authorisation
holder = admin_datums[ckey]
if(holder)
admins += src
staff += src
holder.owner = src
log_client_to_db()
@@ -425,7 +425,7 @@
ticket_panels -= src
if(holder)
holder.owner = null
admins -= src
staff -= src
directory -= ckey
clients -= src
SSassets.handle_disconnect(src)