From 00913c5f2dd1ae25a391592850e05e55f4415bd9 Mon Sep 17 00:00:00 2001 From: Harmon Date: Tue, 15 Nov 2016 05:22:03 -0600 Subject: [PATCH] Fix minimal line separator reference in parse --- pydle/features/ircv3/tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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