Changeset 8e9e2b7 for irc_im.c


Ignore:
Timestamp:
2010-10-03T02:45:26Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
04f0c10
Parents:
88de0c9 (diff), 2af3e23 (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 mainline, which includes a huge msnp13 merge.

Not 100% sure about the OpenSSL merge, should double check that but I'm
currently offline.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_im.c

    r88de0c9 r8e9e2b7  
    590590        irc_channel_t *ic = c->ui_data;
    591591       
    592         if( ic == NULL )
     592        if( ic == NULL || bu == NULL )
    593593                return FALSE;
    594594       
     
    753753                {
    754754                        *s = '\0';
    755                         if( ( iu = irc_user_by_name( ic->irc, nick ) ) &&
     755                        if( ( iu = irc_user_by_name( ic->irc, nick ) ) && iu->bu &&
    756756                            iu->bu->nick && irc_channel_has_user( ic, iu ) )
    757757                        {
     
    858858                c->ic->acc->prpl->chat_topic( c, topic );
    859859                g_free( topic );
    860                 return TRUE;
    861         }
    862                
     860        }
     861               
     862        /* Whatever happened, the IM module should ack the topic change. */
    863863        return FALSE;
    864864}
Note: See TracChangeset for help on using the changeset viewer.