aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2018-09-03 12:45:27 +0100
committerGravatar jesopo2018-09-03 12:45:27 +0100
commit36904af9868e6c364b407d981590e87422ee7bcb (patch)
tree9d9338639a5422f3fc16b6ca954d3a90d96f1d1a
parentHandle empty tag sections, e.g. "@;tag=value" (diff)
signature
tag_split, not tag
-rw-r--r--IRCLineHandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/IRCLineHandler.py b/IRCLineHandler.py
index a898f943..8bf6db64 100644
--- a/IRCLineHandler.py
+++ b/IRCLineHandler.py
@@ -57,7 +57,7 @@ class LineHandler(object):
for tag in tags_prefix.split(";"):
if tag:
tag_split = tag.split("=", 1)
- tags[tag[0]] = tag[1:]
+ tags[tag_split[0]] = tag_split[1:]
if line[0] == ":":
prefix, command, line = line[1:].split(" ", 2)