Mercurial > pidgin.yaz
comparison src/protocols/msn/msn.c @ 8175:f347c8d25cf5
[gaim-migrate @ 8889]
Make privacy stuff use an enum for different privacy options. This
started with a fix to make the box for "allow the users below" show
up when opening the privacy dialog when that option was selected.
It might be a good idea for a few people to check their privacy settings
after using this to make sure it's the same as what it used to be.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 28 Jan 2004 05:43:04 +0000 |
parents | 9d1a984681fe |
children | aa44049e8891 |
comparison
equal
deleted
inserted
replaced
8174:4c34db6996d1 | 8175:f347c8d25cf5 |
---|---|
869 GaimAccount *account = gaim_connection_get_account(gc); | 869 GaimAccount *account = gaim_connection_get_account(gc); |
870 MsnSession *session = gc->proto_data; | 870 MsnSession *session = gc->proto_data; |
871 char buf[MSN_BUF_LEN]; | 871 char buf[MSN_BUF_LEN]; |
872 GSList *s, *t = NULL; | 872 GSList *s, *t = NULL; |
873 | 873 |
874 if (account->perm_deny == PERMIT_ALL || | 874 if (account->perm_deny == GAIM_PRIVACY_ALLOW_ALL || |
875 account->perm_deny == DENY_SOME) { | 875 account->perm_deny == GAIM_PRIVACY_DENY_USERS) { |
876 | 876 |
877 strcpy(buf, "AL"); | 877 strcpy(buf, "AL"); |
878 } | 878 } |
879 else | 879 else |
880 strcpy(buf, "BL"); | 880 strcpy(buf, "BL"); |