Changeset e7edbb7


Ignore:
Timestamp:
2010-04-14T22:56:19Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
9d4352c
Parents:
4c3519a
Message:

Don't show an empty status message line in /whois if status_msg is "".
And don't show version info in the response, WTF was that there anyway?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_send.c

    r4c3519a re7edbb7  
    222222                           bu->ic->acc->prpl->name );
    223223               
    224                 if( bu->status || bu->status_msg )
     224                if( ( bu->status && *bu->status ) ||
     225                    ( bu->status_msg && *bu->status_msg ) )
    225226                {
    226227                        int num = bu->flags & BEE_USER_AWAY ? 301 : 320;
     
    234235        else
    235236        {
    236                 irc_send_num( irc, 312, "%s %s :%s", iu->nick, irc->root->host, IRCD_INFO " " BITLBEE_VERSION );
     237                irc_send_num( irc, 312, "%s %s :%s", iu->nick, irc->root->host, IRCD_INFO );
    237238        }
    238239       
Note: See TracChangeset for help on using the changeset viewer.