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