Changeset 536dfa1 for protocols


Ignore:
Timestamp:
2012-11-11T22:13:07Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e1d3f98
Parents:
8f976e6
Message:

Cleaning up struct im_connection a little bit.

Location:
protocols
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.h

    r8f976e6 r536dfa1  
    8888        int permdeny;
    8989       
    90         char displayname[128];
    9190        char *away;
    92        
    93         int evil;
    9491       
    9592        /* BitlBee */
     
    127124        char show[BUDDY_ALIAS_MAXLEN];
    128125        int present;
    129         int evil;
    130126        time_t signon;
    131127        time_t idle;
  • protocols/oscar/oscar.c

    r8f976e6 r536dfa1  
    946946                        g_hash_table_insert(od->ips, uin, (gpointer) (long) info->icqinfo.ipaddr);
    947947        }
    948 
    949         if (!aim_sncmp(ic->acc->user, info->sn))
    950                 g_snprintf(ic->displayname, sizeof(ic->displayname), "%s", info->sn);
    951948
    952949        tmp = normalize(info->sn);
     
    15361533
    15371534static int gaim_selfinfo(aim_session_t *sess, aim_frame_t *fr, ...) {
    1538         va_list ap;
    1539         aim_userinfo_t *info;
    1540         struct im_connection *ic = sess->aux_data;
    1541 
    1542         va_start(ap, fr);
    1543         info = va_arg(ap, aim_userinfo_t *);
    1544         va_end(ap);
    1545 
    1546         ic->evil = info->warnlevel/10;
    1547         /* ic->correction_time = (info->onlinesince - ic->login_time); */
    1548 
    15491535        return 1;
    15501536}
Note: See TracChangeset for help on using the changeset viewer.