I was accidentally removing two characters from the start of :nick!user@host

This commit is contained in:
jesopo 2018-11-13 15:04:11 +00:00
parent 555e8faa03
commit 16c4e1bfc6

View file

@ -105,7 +105,7 @@ def parse_line(line: str) -> IRCLine:
if line[0] == ":":
prefix_str, line = line[1:].split(" ", 1)
prefix = seperate_hostmask(prefix_str[1:])
prefix = seperate_hostmask(prefix_str)
args = []
command, sep, line = line.partition(" ")