Merge pull request #7502 from Citadel-Station-13/kevinz000-patch-8

Makes the code not go "no you" when admins try to note people (NOTE: NOTES ARE STILL BUGGED, this just fixes the worst issue)
This commit is contained in:
deathride58
2018-08-26 21:21:38 -04:00
committed by GitHub
+6 -1
View File
@@ -23,8 +23,13 @@
target_key = new_key
if(QDELETED(usr))
return
if(!target_ckey)
if(target_key)
target_ckey = ckey(target_key)
else
return
if(target_ckey)
target_ckey = sanitizeSQL(target_ckey)
target_ckey = sanitizeSQL(ckey(target_ckey))
if(!target_key)
target_key = target_ckey
if(!admin_ckey)