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

User mode handling needs work #158

Open
cooper opened this issue Jan 4, 2017 · 0 comments
Open

User mode handling needs work #158

cooper opened this issue Jan 4, 2017 · 0 comments
Assignees
Milestone

Comments

@cooper
Copy link
Owner

cooper commented Jan 4, 2017

Any place where we force a user mode change, we have to literally lookup the letter and use ->do_mode_string(). This is horrendous. We need ->do_modes() or the like. We probably can't use the modes package since it checks cmode types and parameters and whatnot.

Hmm, since user modes do not have parameters, we could just use array refs of only mode names.

Also, oh my lord:

    # it's easier to do this than it is to
    # keep track of them
    # FIXME: PLEASE!
    $str =~ s/\+\+/\+/g;
    $str =~ s/\-\-/\-/g;
    $str =~ s/\+\-/\-/g;
    $str =~ s/\-\+/\+/g;
@cooper cooper added this to the v14 milestone May 23, 2017
@cooper cooper self-assigned this Oct 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant