diff src/server.c @ 707:668b4d544afe

[gaim-migrate @ 717] la la la. libfaim changes, this time all of it was me. removed the permit/deny stuff, it was waaaaaay too buggy. also made it so aim_conn_kill closed the connection too. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 17 Aug 2000 08:06:23 +0000
parents 150214f1d48b
children efd72a117875
line wrap: on
line diff
--- a/src/server.c	Thu Aug 17 07:27:46 2000 +0000
+++ b/src/server.c	Thu Aug 17 08:06:23 2000 +0000
@@ -415,25 +415,21 @@
 			break;
 		}
 	} else {
+/*
 		int at;
 		GList *list;
 		char buf[MSG_LEN];
 
 		switch (permdeny) {
-		/* aim_bos_changevisibility(gaim_sess, gaim_conn, type, list) */
 		case PERMIT_ALL:
-			/* AIM_VISIBILITYCHANGE_DENYADD current_user */
 			aim_bos_changevisibility(gaim_sess, gaim_conn,
 			   AIM_VISIBILITYCHANGE_DENYADD, current_user->username);
 			break;
 		case PERMIT_NONE:
-			/* AIM_VISIBILITY_PERMITADD current_user */
 			aim_bos_changevisibility(gaim_sess, gaim_conn,
 			   AIM_VISIBILITYCHANGE_PERMITADD, current_user->username);
 			break;
 		case PERMIT_SOME:
-			/* PERMIT <permit> */
-			/* if permit is empty this is the same as PERMIT_NONE */
 			at = g_snprintf(buf, sizeof(buf), "%s", current_user->username);
 			list = permit;
 			while (list) {
@@ -445,8 +441,6 @@
 			   AIM_VISIBILITYCHANGE_PERMITADD, buf);
 			break;
 		case DENY_SOME:
-			/* DENY <deny> */
-			/* if deny is empty this is the same as PERMIT_ALL */
 			if (deny) {
 				at = 0;
 				list = deny;
@@ -466,6 +460,7 @@
 			}
 			break;
 		}
+*/
 	}
 }