Skip to content

Fix MODE/ban handling #47

@luxaritas

Description

@luxaritas

In the code: https://github.com/EteRNAgame/HTML-Chat/blob/dev/src/js/chat.js#L525

MODE has never been handled correctly (my cousin took a look at the code at one point and mentioned that it doesn't account for multiple modes being set at once, both on the same target or for multiple different targets). Also, the usage of finding the ~q flag on the ban mask to determine if the user is not allowed to post is no longer valid since we're using txircd (it has a different syntax for extended bans - [action[:parameter];[neg][matching:]]mask, so that a mute looks like +b m;nick!user@host).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions