Changeset 84c1a0a


Ignore:
Timestamp:
2006-03-15T19:19:16Z (19 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
8ba511d
Parents:
58f3136
Message:

Small code cleanup, got rid of some functions in nogaim.c that we never needed.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ipc.c

    r58f3136 r84c1a0a  
    8484void ipc_master_cmd_restart( irc_t *data, char **cmd )
    8585{
    86         struct bitlbee_child *child = (void*) data;
    87        
    8886        if( global.conf->runmode != RUNMODE_FORKDAEMON )
    8987        {
  • protocols/nogaim.c

    r58f3136 r84c1a0a  
    1414 * (except for the function names).
    1515 *
    16  * Copyright 2002-2004 Wilmer van der Gaast <lintux@lintux.cx>
     16 * Copyright 2002-2006 Wilmer van der Gaast <wilmer@gaast.net> and others
    1717 */
    1818
     
    352352       
    353353        /* MSN servers sometimes redirect you to a different server and do
    354            the whole login sequence again, so subsequent calls to this
     354           the whole login sequence again, so these "late" calls to this
    355355           function should be handled correctly. (IOW, ignored) */
    356356        if( gc->flags & OPT_LOGGED_IN )
     
    366366        if( u && u->away ) proto_away( gc, u->away );
    367367       
    368         if( !strcmp(gc->prpl->name, "icq") )
     368        if( strcmp( gc->prpl->name, "ICQ" ) == 0 )
    369369        {
    370370                for( u = gc->irc->users; u; u = u->next )
     
    470470/* list.c */
    471471
    472 int bud_list_cache_exists( struct gaim_connection *gc )
    473 {
    474         return( 0 );
    475 }
    476 
    477 void do_import( struct gaim_connection *gc, void *null )
    478 {
    479         return;
    480 }
    481 
    482472void add_buddy( struct gaim_connection *gc, char *group, char *handle, char *realname )
    483473{
     
    552542       
    553543        return( b );
    554 }
    555 
    556 void do_export( struct gaim_connection *gc )
    557 {
    558         return;
    559544}
    560545
     
    882867       
    883868        return( c );
    884 }
    885 
    886 void serv_finish_login( struct gaim_connection *gc )
    887 {
    888         return;
    889869}
    890870
  • protocols/oscar/oscar.c

    r58f3136 r84c1a0a  
    356356        if (isdigit(*user->username)) {
    357357                odata->icq = TRUE;
    358                 /* this is odd but it's necessary for a proper do_import and do_export */
     358                /* This is odd but it's necessary for a proper do_import and do_export.
     359                   We don't do those anymore, but let's stick with it, just in case
     360                   it accidentally fixes something else too... */
    359361                gc->password[8] = 0;
    360362        } else {
     
    17371739        odata->rights.maxdenies = (guint)maxdenies;
    17381740
    1739 //      serv_finish_login(gc);
    1740 
    1741         if (bud_list_cache_exists(gc))
    1742                 do_import(gc, NULL);
    1743 
    17441741        aim_clientready(sess, fr->conn);
    17451742
     
    20962093        } /* End of for loop */
    20972094
    2098         if (tmp)
    2099                 do_export(gc);
    21002095        aim_ssi_enable(sess, fr->conn);
    21012096       
Note: See TracChangeset for help on using the changeset viewer.