Skip to content

Conversation

@esainane
Copy link

@esainane esainane commented Dec 4, 2019

This is generally more relevant while in the lobby, and helps make
clearer the:

[liblobby] Warning: Duplicate user(...) added to channel (...)

problems, where it appears that an online and an offline user
share the same name. This issue is not fixed here.

This builds from #721

Offline users have a nil isAdmin, non-admins have a false isAdmin.

This caused comparisons to often enter the admin branch prematurely,
breaking alphabetical etc ordering.
Once is enough to coerce to a boolean, twice is superfluous for a
simple equality test.
This is generally more relevant while in the lobby, and helps make
clearer the:
> [liblobby] Warning: Duplicate user(...) added to channel (...)
problems, where it appears that an online and an offline user
share the same name. This issue is not fixed here.
@DieGoldeneEnte
Copy link

FYI: This pull-request has all the commits from your other pull-requests.

@sprunk
Copy link
Member

sprunk commented Dec 4, 2019

I'd take it but with a double-not, see #721

@sprunk sprunk merged commit ed1bb2f into ZeroK-RTS:master Dec 4, 2019
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