Changeset 975708a for irc_im.c


Ignore:
Timestamp:
2010-09-05T12:08:12Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
2c6b0f4
Parents:
4e1be76 (diff), ed320e8 (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:

Mainline merge.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_im.c

    r4e1be76 r975708a  
    252252{
    253253        irc_user_t *iu = (irc_user_t *) bu->ui_data;
    254         irc_t *irc = (irc_t *) bee->ui_data;
    255254        char *s;
    256255       
     
    266265        if( ( bu->ic->flags & OPT_LOGGED_IN ) && set_getbool( &bee->set, "display_namechanges" ) )
    267266        {
     267                /* People don't like this /NOTICE. Meh, let's go back to the old one.
    268268                char *msg = g_strdup_printf( "<< \002BitlBee\002 - Changed name to `%s' >>", iu->fullname );
    269269                irc_send_msg( iu, "NOTICE", irc->user->nick, msg, NULL );
     270                */
     271                imcb_log( bu->ic, "User `%s' changed name to `%s'", iu->nick, iu->fullname );
    270272        }
    271273       
     
    691693                {
    692694                        *s = '\0';
    693                         if( ( iu = irc_user_by_name( ic->irc, nick ) ) &&
     695                        if( ( iu = irc_user_by_name( ic->irc, nick ) ) && iu->bu &&
    694696                            iu->bu->nick && irc_channel_has_user( ic, iu ) )
    695697                        {
     
    796798                c->ic->acc->prpl->chat_topic( c, topic );
    797799                g_free( topic );
    798                 return TRUE;
    799         }
    800                
     800        }
     801               
     802        /* Whatever happened, the IM module should ack the topic change. */
    801803        return FALSE;
    802804}
Note: See TracChangeset for help on using the changeset viewer.