From 09b4020dc9fcbe117ba457ef98e7b603e10f3168 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Sun, 27 Sep 2015 20:44:10 -0700 Subject: [PATCH] Makes the stickyban panel sort the bans by ckey --- code/modules/admin/stickyban.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/stickyban.dm b/code/modules/admin/stickyban.dm index d3a198a52bb..7723a138bdb 100644 --- a/code/modules/admin/stickyban.dm +++ b/code/modules/admin/stickyban.dm @@ -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() \ No newline at end of file + holder.stickyban_show()