projects
/
irker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2f483c
)
Full transmission of multi-line messages.
author
Eric S. Raymond
<esr@thyrsus.com>
Sat, 29 Sep 2012 05:43:04 +0000
(
01:43
-0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Sat, 29 Sep 2012 05:43:04 +0000
(
01:43
-0400)
This commit comment will exercise the feature.
irkerd
patch
|
blob
|
history
diff --git
a/irkerd
b/irkerd
index b5d897de54eba1149fc124f76d80cbe2c5ddc0d6..e5bf3000c669777436a973836158f51be26dcac5 100755
(executable)
--- 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()