Makes the stickyban panel sort the bans by ckey

This commit is contained in:
Kyle Spier-Swenson
2015-09-27 20:44:10 -07:00
parent fcc13d7300
commit 09b4020dc9
+2 -2
View File
@@ -142,7 +142,7 @@
/datum/admins/proc/stickyban_show()
if(!check_rights(R_BAN))
return
var/list/bans = world.GetConfig("ban")
var/list/bans = sortList(world.GetConfig("ban"))
var/banhtml = ""
for(var/key in bans)
var/ckey = ckey(key)
@@ -201,4 +201,4 @@
set category = "Admin"
if (!holder)
return
holder.stickyban_show()
holder.stickyban_show()