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
1=== modified file 'ibid/source/irc.py'
2--- ibid/source/irc.py 2011-10-30 17:25:29 +0000
3+++ ibid/source/irc.py 2012-12-05 21:09:20 +0000
4@@ -208,7 +208,8 @@
5 self.notice(raw_target, raw_message)
6 self.factory.log.debug(u"Sent notice to %s: %s", target, message)
7 else:
8- self.msg(raw_target, raw_message)
9+ # we do our own truncation
10+ self.msg(raw_target, raw_message, length=512)
11 self.factory.log.debug(u"Sent privmsg to %s: %s", target, message)
12
13 def join(self, channel, key=None):

Subscribers

People subscribed via source and target branches

to all changes: