Skip to content

NewNick handler needs a max length check #108

@purpleidea

Description

@purpleidea

If you use the NewNick handler and return a nick with a length that's longer than 16 chars, the whole lib breaks, in particular the NAMES/353 responses no longer work and you get ghosts in your code.

Ask me how I know...

There should be a doc patch to mention this, and probably some sort of error propagation in here.

It's possible that 16 is a server specific limit-- I just found this empirically when using Freenode.

HTH's someone else.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions