Ignore:
Timestamp:
2010-05-08T14:48:38Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e685657
Parents:
4a9fd5f
Message:

Misc. cleanup. Also updated the Yahoo! module to deal with struct groupchat
in a GSList so that a default config fully compiles again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/bee_chat.c

    r4a9fd5f reaaa986  
    218218        return 1;
    219219}
     220
     221struct groupchat *bee_chat_by_title( bee_t *bee, struct im_connection *ic, const char *title )
     222{
     223        struct groupchat *c;
     224        GSList *l;
     225       
     226        for( l = ic->groupchats; l; l = l->next )
     227        {
     228                c = l->data;
     229                if( strcmp( c->title, title ) == 0 )
     230                        return c;
     231        }
     232       
     233        return NULL;
     234}
Note: See TracChangeset for help on using the changeset viewer.