From f8249c2402c4ed59079968524465a6d3d0140f44 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Mon, 26 Mar 2018 03:44:31 +0000
Subject: [PATCH] The get/put/init/fixmgptrs functions now use ini routines, so
 move inside of the #if !NO_SOCKET_SUPPORT block. Fixes Windows build of
 addfiles and other utils.

---
 src/sbbs3/userdat.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/sbbs3/userdat.c b/src/sbbs3/userdat.c
index 719efa42d7..18b8c5d6fb 100644
--- a/src/sbbs3/userdat.c
+++ b/src/sbbs3/userdat.c
@@ -3015,7 +3015,6 @@ ulong DLLCALL loginBanned(scfg_t* cfg, link_list_t* list, SOCKET sock, const cha
 	}
 	return 0;
 }
-#endif
 
 /****************************************************************************/
 /* Message-new-scan pointer/configuration functions							*/
@@ -3221,8 +3220,6 @@ BOOL DLLCALL set_sysop_availability(scfg_t* scfg, BOOL available)
 	return remove(sysop_available_semfile(scfg)) == 0;
 }
 
-#if !defined(NO_SOCKET_SUPPORT)	/* This brings in xpdev which then requires socket lib */
-
 /************************************/
 /* user .ini file get/set functions */
 /************************************/
-- 
GitLab