various fixes to admin topic

This commit is contained in:
Jordie0608
2016-10-10 01:04:33 +11:00
parent 070477d650
commit 74bdbf35dc
2 changed files with 138 additions and 192 deletions
+2 -1
View File
@@ -8,6 +8,7 @@
establish_db_connection()
if(!dbcon.IsConnected())
src << "<span class='danger'>Failed to establish database connection.</span>"
return
var/serverip = "[world.internet_address]:[world.port]"
@@ -133,7 +134,7 @@
if(kickbannedckey)
if(banned_mob && banned_mob.client && banned_mob.client.ckey == banckey)
qdel(banned_mob.client)
return 1
/datum/admins/proc/DB_ban_unban(ckey, bantype, job = "")