From 166bdff74d618eae46ccfd61a1e8906fb6dbc532 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Tue, 14 Nov 2000 22:16:58 +0000
Subject: [PATCH] Changed userdatdupe prototype to use bool instead of char.

---
 src/sbbs3/data_ovl.cpp | 6 +++---
 src/sbbs3/sbbs.h       | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/sbbs3/data_ovl.cpp b/src/sbbs3/data_ovl.cpp
index 13dd5a825d..3875cf2be3 100644
--- a/src/sbbs3/data_ovl.cpp
+++ b/src/sbbs3/data_ovl.cpp
@@ -180,14 +180,14 @@ void sbbs_t::putmsgptrs()
 }
 
 /****************************************************************************/
-/* Checks for a duplicate user filed starting at user record offset         */
+/* Checks for a duplicate user field starting at user record offset         */
 /* 'offset', reading in 'datlen' chars, comparing to 'str' for each user    */
 /* except 'usernumber' if it is non-zero. Comparison is NOT case sensitive. */
-/* del is 1 if the search is to included deleted/inactive users 0 otherwise */
+/* 'del' is true if the search is to include deleted/inactive users			*/
 /* Returns the usernumber of the dupe if found, 0 if not                    */
 /****************************************************************************/
 uint sbbs_t::userdatdupe(uint usernumber, uint offset, uint datlen, char *dat
-    , char del)
+    ,bool del)
 {
 	bputs(text[SearchingForDupes]);
 	uint i=::userdatdupe(&cfg, usernumber, offset, datlen, dat, del);
diff --git a/src/sbbs3/sbbs.h b/src/sbbs3/sbbs.h
index 3548d798fb..3af214eaaa 100644
--- a/src/sbbs3/sbbs.h
+++ b/src/sbbs3/sbbs.h
@@ -332,7 +332,7 @@ public:
 	void	getusrsubs(void);
 	void	getusrdirs(void);
 	uint	userdatdupe(uint usernumber, uint offset, uint datlen, char *dat
-				,char del);
+				,bool del);
 	void	gettimeleft(void);
 	bool	gettimeleft_inside;
 
-- 
GitLab