aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-18 18:14:04 +0100
committerGravatar jesopo2019-06-18 18:14:04 +0100
commitc463fa20a45cf22c66ae1aeec106a75f6fcb5722 (patch)
tree15183351d19034405eb0e1d7ef432c5692b8518f /src
parentTags should not be appended to `pieces` now that they're counted separately (diff)
signature
`line_formatted` -> `valid` so tags don't cause us to subvert truncation
Diffstat (limited to 'src')
-rw-r--r--src/IRCLine.py2
1 files changed, 1 insertions, 1 deletions
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