Changeset 2d317bb for protocols/nogaim.c


Ignore:
Timestamp:
2007-04-23T05:18:47Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
6286f80
Parents:
0e7ab64
Message:

Fixes: handling of being kicked, now sending <presence/> tags to all
conferences the user's in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.c

    r0e7ab64 r2d317bb  
    807807}
    808808
     809/* This function is one BIG hack... :-( EREWRITE */
    809810void imcb_chat_remove_buddy( struct groupchat *b, char *handle, char *reason )
    810811{
     
    818819        if( g_strcasecmp( handle, b->ic->acc->user ) == 0 )
    819820        {
     821                if( b->joined == 0 )
     822                        return;
     823               
    820824                u = user_find( b->ic->irc, b->ic->irc->nick );
    821825                b->joined = 0;
     
    827831        }
    828832       
    829         if( remove_chat_buddy_silent( b, handle ) )
    830                 if( ( b->joined || me ) && u )
    831                         irc_part( b->ic->irc, u, b->channel );
     833        if( me || ( remove_chat_buddy_silent( b, handle ) && b->joined && u ) )
     834                irc_part( b->ic->irc, u, b->channel );
    832835}
    833836
Note: See TracChangeset for help on using the changeset viewer.