From 72d52f2eb27d442caa8b5032c09e51cef86e5132 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Tue, 26 Mar 2019 09:08:46 +0000
Subject: [PATCH] sbbs_t::netmail() should return the result of qnetmail(),
 when called. Nobody checks the netmail() return value apparently, but this
 has been a bug since ... forever.

---
 src/sbbs3/fido.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/sbbs3/fido.cpp b/src/sbbs3/fido.cpp
index a76a0938f9..30515b8b3f 100644
--- a/src/sbbs3/fido.cpp
+++ b/src/sbbs3/fido.cpp
@@ -157,8 +157,7 @@ bool sbbs_t::netmail(const char *into, const char *title, long mode, smb_t* resm
 			bputs(text[EmailFilesNotAllowed]);
 			mode&=~WM_FILE;
 		}
-		qnetmail(to, title, mode, resmb, remsg);
-		return false; 
+		return qnetmail(to, title, mode, resmb, remsg);
 	}
 	if(net_type == NET_INTERNET) {
 		if(!(cfg.inetmail_misc&NMAIL_ALLOW)) {
-- 
GitLab