[MIRROR] Fix admins without R_POLL getting (an unusable) poll verb [MDB IGNORE] (#24767)

* 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.
/🆑

* Fix admins without `R_POLL` getting (an unusable) poll verb

---------

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-11-04 00:36:26 +01:00
committed by GitHub
parent df1a3670d8
commit 61ecc53c2e
+1 -1
View File
@@ -301,7 +301,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)