Skip to content
Snippets Groups Projects
Commit 6227e673 authored by Eric S. Raymond's avatar Eric S. Raymond
Browse files

Full transmission of multi-line messages.

This commit comment will exercise the feature.
parent e2f483cf
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment