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)