From 933f35cc540833230d729fe7631fa43b9347e8f9 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sat, 14 Aug 2004 22:17:55 +0000 Subject: [PATCH] Remove existing QUOTES.TXT in lower or mixed case too. --- src/sbbs3/writemsg.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sbbs3/writemsg.cpp b/src/sbbs3/writemsg.cpp index 4d81a5fd44..a795c7d8f0 100644 --- a/src/sbbs3/writemsg.cpp +++ b/src/sbbs3/writemsg.cpp @@ -8,7 +8,7 @@ * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * * - * Copyright 2000 Rob Swindell - http://www.synchro.net/copyright.html * + * Copyright 2004 Rob Swindell - http://www.synchro.net/copyright.html * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of the GNU General Public License * @@ -888,6 +888,7 @@ void sbbs_t::editfile(char *str) maxlines=cfg.level_linespermsg[useron.level]; sprintf(str2,"%sQUOTES.TXT",cfg.node_dir); + fexistcase(str2); remove(str2); if(cfg.node_editor[0] && online==ON_LOCAL) { external(cmdstr(cfg.node_editor,str,nulstr,NULL),0,cfg.node_dir); -- GitLab