ParsedLine already deals with preventing newlines
This commit is contained in:
parent
161fdb8aa6
commit
3ad83655d5
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue