Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/msn.c

    r7b23afd r9cb9868  
    2626#include "nogaim.h"
    2727#include "msn.h"
     28
     29static struct prpl *my_protocol = NULL;
    2830
    2931static void msn_login( struct aim_user *acct )
     
    373375}
    374376
    375 void msn_init()
    376 {
    377         struct prpl *ret = g_new0(struct prpl, 1);
    378         ret->name = "msn";
     377void msn_init(struct prpl *ret)
     378{
     379        ret->protocol = PROTO_MSN;
    379380        ret->login = msn_login;
    380381        ret->close = msn_close;
     
    397398        ret->rem_deny = msn_rem_deny;
    398399        ret->send_typing = msn_send_typing;
    399 
    400         register_protocol(ret);
    401 }
     400        ret->cmp_buddynames = g_strcasecmp;
     401
     402        my_protocol = ret;
     403}
Note: See TracChangeset for help on using the changeset viewer.