Mercurial > pidgin
comparison src/protocols/toc/toc.c @ 11257:90be432e8385
[gaim-migrate @ 13432]
Removed warning from core.
I think you should be able to see others' warning levels in the tooltip,
but I haven't managed to warn myself from any client.
Being able to warn others will be dependent on protocol-specific convo
menus.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sun, 14 Aug 2005 03:50:35 +0000 |
parents | bb0d7b719af2 |
children | eb14bbcf7249 |
comparison
equal
deleted
inserted
replaced
11256:bb0d7b719af2 | 11257:90be432e8385 |
---|---|
857 */ | 857 */ |
858 tmp = g_strdup(gaim_normalize(account, gaim_account_get_username(gc->account))); | 858 tmp = g_strdup(gaim_normalize(account, gaim_account_get_username(gc->account))); |
859 if (!strcmp(tmp, gaim_normalize(account, c))) { | 859 if (!strcmp(tmp, gaim_normalize(account, c))) { |
860 gaim_connection_set_display_name(gc, c); | 860 gaim_connection_set_display_name(gc, c); |
861 /* XXX - What should the second parameter be here? */ | 861 /* XXX - What should the second parameter be here? */ |
862 gaim_prpl_got_account_warning_level(account, NULL, evil); | 862 /* gaim_prpl_got_account_warning_level(account, NULL, evil);*/ |
863 gaim_prpl_got_account_login_time(account, signon); | 863 gaim_prpl_got_account_login_time(account, signon); |
864 } | 864 } |
865 g_free(tmp); | 865 g_free(tmp); |
866 | 866 |
867 gaim_prpl_got_user_status(account, c, (logged_in ? "online" : "offline"), NULL); | 867 gaim_prpl_got_user_status(account, c, (logged_in ? "online" : "offline"), NULL); |
877 char *name; | 877 char *name; |
878 | 878 |
879 sscanf(strtok(NULL, ":"), "%d", &lev); | 879 sscanf(strtok(NULL, ":"), "%d", &lev); |
880 name = strtok(NULL, ":"); | 880 name = strtok(NULL, ":"); |
881 | 881 |
882 gaim_prpl_got_account_warning_level(account, name, lev); | 882 /* gaim_prpl_got_account_warning_level(account, name, lev); */ |
883 } else if (!g_ascii_strcasecmp(c, "CHAT_JOIN")) { | 883 } else if (!g_ascii_strcasecmp(c, "CHAT_JOIN")) { |
884 char *name; | 884 char *name; |
885 int id; | 885 int id; |
886 | 886 |
887 sscanf(strtok(NULL, ":"), "%d", &id); | 887 sscanf(strtok(NULL, ":"), "%d", &id); |
2267 toc_add_permit, /* add_permit */ | 2267 toc_add_permit, /* add_permit */ |
2268 toc_add_deny, /* add_deny */ | 2268 toc_add_deny, /* add_deny */ |
2269 toc_rem_permit, /* rem_permit */ | 2269 toc_rem_permit, /* rem_permit */ |
2270 toc_rem_deny, /* rem_deny */ | 2270 toc_rem_deny, /* rem_deny */ |
2271 toc_set_permit_deny, /* set_permit_deny */ | 2271 toc_set_permit_deny, /* set_permit_deny */ |
2272 toc_warn, /* warn */ | |
2273 toc_join_chat, /* join_chat */ | 2272 toc_join_chat, /* join_chat */ |
2274 NULL, /* reject_chat */ | 2273 NULL, /* reject_chat */ |
2275 NULL, /* get_chat_name */ | 2274 NULL, /* get_chat_name */ |
2276 toc_chat_invite, /* chat_invite */ | 2275 toc_chat_invite, /* chat_invite */ |
2277 toc_chat_leave, /* chat_leave */ | 2276 toc_chat_leave, /* chat_leave */ |