Skip to content

mIRC formatting (colours etc.) not stripped from IRC messages #145

@alanbriolat

Description

@alanbriolat

Example, repr() vs. str():

(D:csbot.raw_log) >>> ':[email protected] PRIVMSG #hacksoc :<\x034atc520\x0f> Oh, oh dear'
(I:csbot.pretty_log) [#hacksoc] <hackbot> <4atc520> Oh, oh dear

It's unclear whether this is a bug or a feature request. In some cases we might want to preserve such things, in other cases they might interfere with other logic. I'd suggest exposing the message content both before and after stripping (the latter being the default, i.e. requiring no code change elsewhere), and allow plugins to make their own decisions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions