From 61ecc53c2ef4071c718ffbc4115357b263e871d3 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 4 Nov 2023 00:36:26 +0100 Subject: [PATCH] [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 :cl: Melbert admin: Admins without `R_POLL` no longer have access to "Server Poll Management", not that they could have used it anyways. /:cl: * Fix admins without `R_POLL` getting (an unusable) poll verb --------- Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> --- code/modules/admin/admin_verbs.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 77830d0277c..988eb1c8287 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -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)