Changes in protocols/oscar/oscar.c [9cb9868:7b23afd]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/oscar/oscar.c
r9cb9868 r7b23afd 364 364 odata->icq = TRUE; 365 365 /* this is odd but it's necessary for a proper do_import and do_export */ 366 gc->protocol = PROTO_ICQ;367 366 gc->password[8] = 0; 368 367 } else { 369 gc->protocol = PROTO_TOC;370 368 gc->flags |= OPT_CONN_HTML; 371 369 } … … 1210 1208 return 1; 1211 1209 } 1212 1210 /* 1211 int handle_cmp_aim(const char * a, const char * b) { 1212 return handle_cmp(a, b, PROTO_TOC); 1213 } 1214 */ 1213 1215 static int gaim_parse_incoming_im(aim_session_t *sess, aim_frame_t *fr, ...) { 1214 1216 int channel, ret = 0; … … 2463 2465 } 2464 2466 2465 static struct prpl *my_protocol = NULL; 2466 2467 void oscar_init(struct prpl *ret) { 2468 ret-> protocol = PROTO_OSCAR;2467 void oscar_init() 2468 { 2469 struct prpl *ret = g_new0(struct prpl, 1); 2470 ret->name = "oscar"; 2469 2471 ret->away_states = oscar_away_states; 2470 2472 ret->login = oscar_login; … … 2482 2484 ret->set_permit_deny = oscar_set_permit_deny; 2483 2485 ret->keepalive = oscar_keepalive; 2484 ret->cmp_buddynames = aim_sncmp;2485 2486 ret->get_status_string = oscar_get_status_string; 2486 2487 2487 my_protocol = ret;2488 } 2488 register_protocol(ret); 2489 }
Note: See TracChangeset
for help on using the changeset viewer.