comparison src/protocols/toc/toc.c @ 2706:e841b14b5b89

[gaim-migrate @ 2719] oh committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 10 Nov 2001 08:02:40 +0000
parents 37d80035e77f
children 9747583279d1
comparison
equal deleted inserted replaced
2705:5f431eefb0f2 2706:e841b14b5b89
142 struct toc_data *tdt; 142 struct toc_data *tdt;
143 char buf[80]; 143 char buf[80];
144 144
145 gc = new_gaim_conn(user); 145 gc = new_gaim_conn(user);
146 gc->proto_data = tdt = g_new0(struct toc_data, 1); 146 gc->proto_data = tdt = g_new0(struct toc_data, 1);
147 gc->flags |= OPT_CONN_HTML;
147 148
148 g_snprintf(buf, sizeof buf, "Looking up %s", 149 g_snprintf(buf, sizeof buf, "Looking up %s",
149 user->proto_opt[USEROPT_AUTH][0] ? user->proto_opt[USEROPT_AUTH] : TOC_HOST); 150 user->proto_opt[USEROPT_AUTH][0] ? user->proto_opt[USEROPT_AUTH] : TOC_HOST);
150 set_login_progress(gc, 1, buf); 151 set_login_progress(gc, 1, buf);
151 152
1361 static struct prpl *my_protocol = NULL; 1362 static struct prpl *my_protocol = NULL;
1362 1363
1363 void toc_init(struct prpl *ret) 1364 void toc_init(struct prpl *ret)
1364 { 1365 {
1365 ret->protocol = PROTO_TOC; 1366 ret->protocol = PROTO_TOC;
1366 ret->options = OPT_PROTO_HTML | OPT_PROTO_CORRECT_TIME; 1367 ret->options = OPT_PROTO_CORRECT_TIME;
1367 ret->name = toc_name; 1368 ret->name = toc_name;
1368 ret->list_icon = toc_list_icon; 1369 ret->list_icon = toc_list_icon;
1369 ret->away_states = toc_away_states; 1370 ret->away_states = toc_away_states;
1370 ret->actions = toc_actions; 1371 ret->actions = toc_actions;
1371 ret->do_action = toc_do_action; 1372 ret->do_action = toc_do_action;