Changeset 2e815e5 for irc_im.c


Ignore:
Timestamp:
2014-02-28T23:14:11Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
35987a1
Parents:
6ae1056 (diff), cb90dc9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merging a bunch of patches from Trac, collected by dx.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_im.c

    r6ae1056 r2e815e5  
    626626        irc_user_t *iu = bu->ui_data;
    627627        irc_channel_t *ic = c->ui_data;
    628         char *ts = NULL;
     628        char *wrapped, *ts = NULL;
    629629       
    630630        if( ic == NULL )
     
    634634                ts = irc_format_timestamp( irc, sent_at );
    635635       
    636         irc_send_msg( iu, "PRIVMSG", ic->name, msg, ts );
     636        wrapped = word_wrap( msg, 425 );
     637        irc_send_msg( iu, "PRIVMSG", ic->name, wrapped, ts );
    637638        g_free( ts );
    638639       
Note: See TracChangeset for help on using the changeset viewer.