diff src/server.c @ 280:e606585a38bd

[gaim-migrate @ 290] I can't even remember what i did. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 30 May 2000 06:36:32 +0000
parents 9e6fc62490cd
children 7b06ba09ffe2
line wrap: on
line diff
--- a/src/server.c	Mon May 29 20:30:48 2000 +0000
+++ b/src/server.c	Tue May 30 06:36:32 2000 +0000
@@ -344,11 +344,11 @@
 
 void serv_set_permit_deny()
 {
-#ifndef USE_OSCAR
 	char buf[MSG_LEN];
 	int at;
 	GList *list;
 
+#ifndef USE_OSCAR
         /* FIXME!  We flash here. */
         if (permdeny == 1 || permdeny == 3) {
         	g_snprintf(buf, sizeof(buf), "toc_add_permit");
@@ -379,26 +379,14 @@
 #else
 	/* oscar requires us to do everyone at once (?) */
 	/* I think this code is OK now. */
-	/* FIXME : I changed my mind
-	if (!(permdeny == 1 || permdeny == 4)) {
-		list = permit; at = 0;
-		while (list) {
-			at += g_snprintf(&buf[at], sizeof(buf) - at, "%s&", list->data);
-			list = list->next;
-		}
-		aim_bos_changevisibility(gaim_sess, gaim_conn,
-				AIM_VISIBILITYCHANGE_PERMITADD, buf);
-	} else {
-		list = deny; at = 0;
-		if (list == NULL) return;
-		while (list) {
-			at += g_snprintf(&buf[at], sizeof(buf) - at, "%s&", list->data);
-			list = list->next;
-		}
-		aim_bos_changevisibility(gaim_sess, gaim_conn,
+	list = deny; at = 0;
+	if (list == NULL) return;
+	while (list) {
+		at += g_snprintf(&buf[at], sizeof(buf) - at, "%s&", list->data);
+		list = list->next;
+	}
+	aim_bos_changevisibility(gaim_sess, gaim_conn,
 				AIM_VISIBILITYCHANGE_DENYADD, buf);
-	}
-	*/
 #endif
 }