Skip to content

Remove duped fields in irc.Event #8

@belak

Description

@belak

Currently irc.Event has a number of duplicated fields.

Event.Prefix is the same as Event.Identity.Raw. You can even infer the Event.Prefix from Event.Identity.

I would like to remove Event.Identity and replace it with Event.SplitPrefix() (nick, user, host string)

Any comments, or ideas on how to make this better? This does have the unfortunate side effect of possibly requiring the parsing of Event.Prefix multiple times, though I don't think that should be a huge issue.

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