ParsedLine already deals with preventing newlines

This commit is contained in:
jesopo 2019-05-20 16:19:37 +01:00
parent 161fdb8aa6
commit 3ad83655d5

View file

@ -253,7 +253,6 @@ class Server(IRCObject.Object):
).call_unsafe(server=self, line=line_parsed)
line = line_parsed.format()
line_stripped = line.split("\n", 1)[0].strip("\r")
line_obj = IRCLine.SentLine(datetime.datetime.utcnow(), self.hostmask(),
line_parsed)
self.socket.send(line_obj)