Skip to content

Allow ROOT flag to call public votes#1730

Closed
AGabenMan wants to merge 4 commits intoalliedmodders:masterfrom
AGabenMan:master
Closed

Allow ROOT flag to call public votes#1730
AGabenMan wants to merge 4 commits intoalliedmodders:masterfrom
AGabenMan:master

Conversation

@AGabenMan
Copy link

This patch allow ROOT flag to call votes even if a delay is set. Its nice to have the possibility to set a delay betweens votes to limit public votes. Generally, we do this when we have lots of admins. But as a ROOT flag this limit shall no be set.

This patch allow ROOT flag to call votes even if a delay is set. Its nice to have the possibility to set a delay betweens votes to limit public votes. Generally, we do this when we have lots of admins. But as a ROOT flag this limit shall no be set.
This patch allow ROOT flag to call votes even if a delay is set. Its nice to have the possibility to set a delay betweens votes to limit public votes. Generally, we do this when we have lots of admins. But as a ROOT flag this limit shall no be set.
Copy link
Member

@asherkin asherkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a good feature to have, but please change the implementation to use CheckCommandAccess with a suitable override string.

This patch allow ROOT flag to call votes even if a delay is set. Its nice to have the possibility to set a delay betweens votes to limit public votes. Generally, we do this when we have lots of admins. But as a ROOT flag this limit shall no be set.
This patch allow ROOT flag to call votes even if a delay is set. Its nice to have the possibility to set a delay betweens votes to limit public votes. Generally, we do this when we have lots of admins. But as a ROOT flag this limit shall no be set.
@AGabenMan
Copy link
Author

AGabenMan commented Mar 22, 2022

I propose an override sm_vote_access (see previous update)

@AGabenMan AGabenMan requested a review from asherkin March 22, 2022 23:59
@AGabenMan
Copy link
Author

@asherkin what do you think of the new update ?

Copy link
Author

@AGabenMan AGabenMan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@GabenManPowered
Copy link
Contributor

Hello, I was the originator of #1730 but I have lost my git account, so I have created a new one.

Can you reopen PR #1733 and close this PR instead please ?

Then I can make the new update as proposed by @Kenzzer

Thanks

@asherkin asherkin closed this Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants