From c463fa20a45cf22c66ae1aeec106a75f6fcb5722 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 18 Jun 2019 18:14:04 +0100 Subject: `line_formatted` -> `valid` so tags don't cause us to subvert truncation --- src/IRCLine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/IRCLine.py') diff --git a/src/IRCLine.py b/src/IRCLine.py index e5b297a0..f713eecd 100644 --- a/src/IRCLine.py +++ b/src/IRCLine.py @@ -131,7 +131,7 @@ class ParsedLine(object): valid = line_formatted[:valid_index] if tags_formatted: - valid = "%s %s" % (tags_formatted, line_formatted) + valid = "%s %s" % (tags_formatted, valid) overflow = line_formatted[valid_index:] return valid, overflow -- cgit v1.3.1-10-gc9f91