Mercurial > pidgin.yaz
comparison src/server.c @ 256:7615d22ad227
[gaim-migrate @ 266]
Permit/deny works now (I hope). Also, the README's and things for libfaim
are now included in 'make dist'. Hopefully someone will actually READ the
README.gaim file.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 23 May 2000 18:11:39 +0000 |
parents | 5b28ef2b550e |
children | 1eeece1c7b7b |
comparison
equal
deleted
inserted
replaced
255:be4ac6d5c1b4 | 256:7615d22ad227 |
---|---|
377 sflap_send(buf, -1, TYPE_DATA); | 377 sflap_send(buf, -1, TYPE_DATA); |
378 #else | 378 #else |
379 /* oscar requires us to do everyone at once (?) */ | 379 /* oscar requires us to do everyone at once (?) */ |
380 /* FIXME : there's something wrong with this code, it causes the entire buddy | 380 /* FIXME : there's something wrong with this code, it causes the entire buddy |
381 * list to update, and can cause other people's buddy lists to improperly update | 381 * list to update, and can cause other people's buddy lists to improperly update |
382 if (!(permdeny == 1 || permdeny == 3)) { | 382 */ |
383 if (!(permdeny == 1 || permdeny == 4)) { | |
383 list = permit; at = 0; | 384 list = permit; at = 0; |
384 while (list) { | 385 while (list) { |
385 at += g_snprintf(&buf[at], sizeof(buf) - at, "%s&", list->data); | 386 at += g_snprintf(&buf[at], sizeof(buf) - at, "%s&", list->data); |
386 list = list->next; | 387 list = list->next; |
387 } | 388 } |
395 list = list->next; | 396 list = list->next; |
396 } | 397 } |
397 aim_bos_changevisibility(gaim_sess, gaim_conn, | 398 aim_bos_changevisibility(gaim_sess, gaim_conn, |
398 AIM_VISIBILITYCHANGE_DENYADD, buf); | 399 AIM_VISIBILITYCHANGE_DENYADD, buf); |
399 } | 400 } |
400 */ | |
401 #endif | 401 #endif |
402 } | 402 } |
403 | 403 |
404 void serv_set_idle(int time) | 404 void serv_set_idle(int time) |
405 { | 405 { |