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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user