Merge lp:~stefanor/ibid/hostmask into lp:ibid

Proposed by Stefano Rivera
Status: Merged
Approved by: Stefano Rivera
Approved revision: 1055
Merged at revision: 1056
Proposed branch: lp:~stefanor/ibid/hostmask
Merge into: lp:ibid
Diff against target: 13 lines (+2/-1)
1 file modified
ibid/source/irc.py (+2/-1)
To merge this branch: bzr merge lp:~stefanor/ibid/hostmask
Reviewer Review Type Date Requested Status
Jonathan Hitchcock Approve
Review via email: mp+138313@code.launchpad.net

Commit message

Tell Twisted not to wrap IRC messages, we calculate the length ourselves

Description of the change

Twisted started actively wrapping IRC messages, to a more conservative length than we use.

https://twistedmatrix.com/trac/ticket/5176

To post a comment you must log in.
Revision history for this message
Jonathan Hitchcock (vhata) wrote :

Win.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ibid/source/irc.py'
--- ibid/source/irc.py 2011-10-30 17:25:29 +0000
+++ ibid/source/irc.py 2012-12-05 21:09:20 +0000
@@ -208,7 +208,8 @@
208 self.notice(raw_target, raw_message)208 self.notice(raw_target, raw_message)
209 self.factory.log.debug(u"Sent notice to %s: %s", target, message)209 self.factory.log.debug(u"Sent notice to %s: %s", target, message)
210 else:210 else:
211 self.msg(raw_target, raw_message)211 # we do our own truncation
212 self.msg(raw_target, raw_message, length=512)
212 self.factory.log.debug(u"Sent privmsg to %s: %s", target, message)213 self.factory.log.debug(u"Sent privmsg to %s: %s", target, message)
213214
214 def join(self, channel, key=None):215 def join(self, channel, key=None):

Subscribers

People subscribed via source and target branches

to all changes: