From 6227e67309971bd84978389b6895eee9374ab6fb Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 29 Sep 2012 01:43:04 -0400 Subject: [PATCH] Full transmission of multi-line messages. This commit comment will exercise the feature. --- irkerd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/irkerd b/irkerd index b5d897d..e5bf300 100755 --- a/irkerd +++ b/irkerd @@ -186,7 +186,8 @@ class Connection: if channel[0] not in "#&+": channel = "#" + channel self.connection.join(channel) - self.connection.privmsg(channel, message) + for segment in message.split("\n"): + self.connection.privmsg(channel, segment) self.last_xmit = time.time() self.irker.debug(1, "XMIT_TTL bump (%s transmission) at %s" % (self.servername, time.asctime())) self.queue.task_done() -- 2.26.2