diff --git a/pydle/features/ircv3/tags.py b/pydle/features/ircv3/tags.py index 6440ace..d9c0d46 100644 --- a/pydle/features/ircv3/tags.py +++ b/pydle/features/ircv3/tags.py @@ -37,7 +37,7 @@ def parse(cls, line, encoding=pydle.protocol.DEFAULT_ENCODING): # Strip message separator. if message.endswith(rfc1459.protocol.LINE_SEPARATOR): message = message[:-len(rfc1459.protocol.LINE_SEPARATOR)] - elif message.endswith(pydle.protocol.MINIMAL_LINE_SEPARATOR): + elif message.endswith(rfc1459.protocol.MINIMAL_LINE_SEPARATOR): message = message[:-len(rfc1459.protocol.MINIMAL_LINE_SEPARATOR)] raw = message