Revert "Properly \n-terminate each send."
authorEric S. Raymond <esr@thyrsus.com>
Sun, 7 Oct 2012 15:38:08 +0000 (11:38 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 7 Oct 2012 15:38:08 +0000 (11:38 -0400)
I misunderstood the RFCs. Curious that someone else reported this
before I saw it.

irkerd

diff --git a/irkerd b/irkerd
index 9b7e8d2957be24663859b5f0d73df33b6dea0e79..321bb5ff1a710a2065c01b09036a2cf7f0a8b527 100755 (executable)
--- a/irkerd
+++ b/irkerd
@@ -250,7 +250,7 @@ class Connection:
                         self.connection.join(channel)
                         self.irker.debug(1, "joining %s on %s." % (channel, self.servername))
                     for segment in message.split("\n"):
-                        self.connection.privmsg(channel, segment + "\n")
+                        self.connection.privmsg(channel, segment)
                         time.sleep(ANTI_FLOOD_DELAY)
                     self.last_xmit = self.channels_joined[channel] = time.time()
                     self.irker.debug(1, "XMIT_TTL bump (%s transmission) at %s" % (self.servername, time.asctime()))