Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Allow hosts to rename lobbies with equal priority to players. #382

Merged
merged 2 commits into from
Jul 31, 2024

Conversation

DeviousNull
Copy link
Contributor

This PR should only be deployed after all SPADS instances are running the new code from beyond-all-reason/spads_config_bar#136 !

(Otherwise, any non-updated SPADS instances will regularly set the lobby name back to the default)

Background and summary:
With the new "!rename" command added to the BarManager SPADS plugin, a host may attempt to rename its lobby at the request of a player. Furthermore, BarManager no longer automatically changes lobby names (instead, it only updates the lobby's Teaser).

However, after the very first rename for a lobby (starting from initial creation), Teiserver currently forbids any further renames originating from the host. This PR removes that restriction, allowing "!rename" to function as expected.

With the new "!rename" command added to the BarManager SPADS
plugin, a host may attempt to rename its lobby at the request
of a player. Furthermore, BarManager no longer automatically
changes lobby names (instead, it only updates the lobby's
Teaser).

However, after the very first rename for a lobby (starting from
initial creation), Teiserver currently forbids any further renames
originating from the host. This PR removes that restriction,
allowing "!rename" to function as expected.
@DeviousNull
Copy link
Contributor Author

Note that I forgot to include: This fixes #371

@L-e-x-o-n L-e-x-o-n merged commit fbc5fec into beyond-all-reason:master Jul 31, 2024
3 checks passed
@DeviousNull DeviousNull deleted the fix-rename branch July 31, 2024 20:50
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