Changeset 4d4a7ed


Ignore:
Timestamp:
2010-08-21T17:46:47Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
5613af7
Parents:
bad41f56
Message:

Some IRC clients/proxies eat empty PRIVMSG lines. BitlBee likes to send them
in multiline msgs/help entries/etc. Send one space instead of a completely
empty line so these are shown to the user.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_send.c

    rbad41f56 r4d4a7ed  
    327327{
    328328        irc_write( iu->irc, ":%s!%s@%s %s %s :%s",
    329                    iu->nick, iu->user, iu->host, type, dst, msg );
     329                   iu->nick, iu->user, iu->host, type, dst, msg && *msg ? msg : " " );
    330330}
    331331
Note: See TracChangeset for help on using the changeset viewer.