mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-22 05:25:15 +01:00
Merge pull request #1807 from errorage/2013-11-17-fixes-lastadminrank-logging
Fixes lastadminrank logging
This commit is contained in:
@@ -193,8 +193,8 @@ var/next_external_rsc = 0
|
||||
return
|
||||
|
||||
var/admin_rank = "Player"
|
||||
if(src.holder)
|
||||
admin_rank = src.holder.rank
|
||||
if(src.holder && src.holder.rank)
|
||||
admin_rank = src.holder.rank.name
|
||||
|
||||
var/sql_ip = sql_sanitize_text(src.address)
|
||||
var/sql_computerid = sql_sanitize_text(src.computer_id)
|
||||
|
||||
Reference in New Issue
Block a user