Ignore:
Timestamp:
2005-11-07T16:16:18Z (19 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
f7f3ada
Parents:
fe51bcf
Message:

Migrate my pluginable branch to use Wilmers' branch as parent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/oscar.c

    rfe51bcf r7b23afd  
    364364                odata->icq = TRUE;
    365365                /* this is odd but it's necessary for a proper do_import and do_export */
    366                 gc->protocol = PROTO_ICQ;
    367366                gc->password[8] = 0;
    368367        } else {
    369                 gc->protocol = PROTO_TOC;
    370368                gc->flags |= OPT_CONN_HTML;
    371369        }
     
    24672465}
    24682466
    2469 static struct prpl *my_protocol = NULL;
    2470 
    2471 void oscar_init(struct prpl *ret) {
    2472         ret->protocol = PROTO_OSCAR;
     2467void oscar_init()
     2468{
     2469        struct prpl *ret = g_new0(struct prpl, 1);
     2470        ret->name = "oscar";
    24732471        ret->away_states = oscar_away_states;
    24742472        ret->login = oscar_login;
     
    24882486        ret->get_status_string = oscar_get_status_string;
    24892487
    2490         my_protocol = ret;
    2491 }
     2488        register_protocol(ret);
     2489}
Note: See TracChangeset for help on using the changeset viewer.