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:
MrMelbert
2023-11-03 14:46:57 -05:00
committed by GitHub
parent eafa28f41f
commit 8d69710d52
+1 -1
View File
@@ -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)