| 33 GaimConnection *gc = cmdproc->session->account->gc; |
33 GaimConnection *gc = cmdproc->session->account->gc; |
| 34 const char *list_name; |
34 const char *list_name; |
| 35 |
35 |
| 36 list_name = cmd->params[0]; |
36 list_name = cmd->params[0]; |
| 37 |
37 |
| 38 if (!g_ascii_strcasecmp(list_name, "AL")) |
38 if (!g_ascii_strcasecmp(list_name, "AL")){ |
| 39 { |
|
| 40 /* |
39 /* |
| 41 * If the current setting is AL, messages from users who |
40 * If the current setting is AL, messages from users who |
| 42 * are not in BL will be delivered. |
41 * are not in BL will be delivered. |
| 43 * |
42 * |
| 44 * In other words, deny some. |
43 * In other words, deny some. |
| 45 */ |
44 */ |
| 46 gc->account->perm_deny = GAIM_PRIVACY_DENY_USERS; |
45 gc->account->perm_deny = GAIM_PRIVACY_DENY_USERS; |
| 47 } |
46 }else{ |
| 48 else |
|
| 49 { |
|
| 50 /* If the current setting is BL, only messages from people |
47 /* If the current setting is BL, only messages from people |
| 51 * who are in the AL will be delivered. |
48 * who are in the AL will be delivered. |
| 52 * |
49 * |
| 53 * In other words, permit some. |
50 * In other words, permit some. |
| 54 */ |
51 */ |