bugWeeChat - Bugs: bug #33592, autojoin (irc.server.xxx.autojoin)...


bug #33592: autojoin (irc.server.xxx.autojoin) strings in excess of 500 characters result in resulting JOIN command being truncated.

Submitted by:  None
Submitted on:  Sat 18 Jun 2011 06:32:44 AM UTC  
Category:  irc plugin Severity:  3 - Normal
Item Group:  irc protocol Status:  Fixed
Privacy:  Public Assigned to:  Sebastien Helleu <flashcode>
Originator Name:  J. H. Johnson Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  0.3.5
IRC nick:  trn

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 07 Sep 2011 09:25:15 AM UTC, comment #1: 

Fixed with split of IRC messages.

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Sat 18 Jun 2011 06:32:44 AM UTC, original submission:  

This might be related #29879, but affecting the server autojoin logic.  If you define a very long autojoin list of channels which exceeds about 500 characters, the JOIN command is sent as one string, which means the list will be truncated as it exceeds the maximum length.  The list needs to be broken up and sent as multiple JOIN commands limited by the maximum length accepted by the protocol.

For example, if you have a giant list of channels (or channels with long names and ending with #etc,#blah,#abcd,#efgh,#ijkl,#mnop,#truncate,#many,#more you might end up with the result of the last channel being joined as #truncat and the rest of the channels in the list are lost and never autojoined. 

I am working around this by keeping the list under 500 characters and using a script to join the rest, but this is very much undesirable and not compatible with scripts like autojoin.py that might create a 700 or 800 character autojoin string.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-10-22 flashcode Open/ClosedOpen => Closed
    2011-09-07 flashcode StatusNone => Fixed
        Assigned toNone => flashcode

    Back to the top

    Powered by Savane 3.7