R_DEV Emergency Fix #2

R_DEV rights restoration hopefully the last fix for R_DEV
This commit is contained in:
Dalekfodder
2014-03-17 22:23:11 +02:00
parent 96838b306f
commit dafae7633e
13 changed files with 50 additions and 50 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
/client/proc/SDQL2_query(query_text as message)
set category = "Admin"
if(!check_rights(R_DEBUG)) //Shouldn't happen... but just to be safe.
if(!check_rights(R_DEBUG|R_DEV)) //Shouldn't happen... but just to be safe.
message_admins("\red ERROR: Non-admin [usr.key] attempted to execute a SDQL query!")
log_admin("Non-admin [usr.key] attempted to execute a SDQL query!")