mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 17:14:47 +01:00
Fix admins without R_POLL getting (an unusable) poll verb (#79461)
## About The Pull Request Copy paste error, I assume. `admin_verbs_poll` only contains `/client/proc/poll_panel` which requires `R_POLL` to use. ## Changelog 🆑 Melbert admin: Admins without `R_POLL` no longer have access to "Server Poll Management", not that they could have used it anyways. /🆑
This commit is contained in:
@@ -265,7 +265,7 @@ GLOBAL_PROTECT(admin_verbs_poll)
|
||||
add_verb(src, GLOB.admin_verbs_permissions)
|
||||
if(rights & R_STEALTH)
|
||||
add_verb(src, /client/proc/stealth)
|
||||
if(rights & R_ADMIN)
|
||||
if(rights & R_POLL)
|
||||
add_verb(src, GLOB.admin_verbs_poll)
|
||||
if(rights & R_SOUND)
|
||||
add_verb(src, GLOB.admin_verbs_sounds)
|
||||
|
||||
Reference in New Issue
Block a user