mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Removing an inconsistent restriction from the rightsedit thing.
I'll need to talk to Erro to figure out what to do with that. Personally, I'd like to think people with PERMISSIONS rights could be trusted but you never know >_> bloody internet git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5083 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -160,9 +160,6 @@
|
||||
rights |= admin_ranks[new_rank] //we input an existing rank, use its rights
|
||||
|
||||
if(D)
|
||||
if((D != usr.client.holder) && (D.rights & R_PERMISSIONS)) //we can't edit another admin with PERMISSIONS rights
|
||||
usr << "<font color='red'>Error: Topic 'editrights': That ckey has PERMISSIONS rights. We cannot modify.</font>"
|
||||
return
|
||||
D.disassociate() //remove adminverbs and unlink from client
|
||||
D.rank = new_rank //update the rank
|
||||
D.rights = rights //update the rights based on admin_ranks (default: 0)
|
||||
|
||||
Reference in New Issue
Block a user