Skip to content
Snippets Groups Projects
Commit 933f35cc authored by rswindell's avatar rswindell
Browse files

Remove existing QUOTES.TXT in lower or mixed case too.

parent 7cb3812d
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * @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 * * This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License * * modify it under the terms of the GNU General Public License *
...@@ -888,6 +888,7 @@ void sbbs_t::editfile(char *str) ...@@ -888,6 +888,7 @@ void sbbs_t::editfile(char *str)
maxlines=cfg.level_linespermsg[useron.level]; maxlines=cfg.level_linespermsg[useron.level];
sprintf(str2,"%sQUOTES.TXT",cfg.node_dir); sprintf(str2,"%sQUOTES.TXT",cfg.node_dir);
fexistcase(str2);
remove(str2); remove(str2);
if(cfg.node_editor[0] && online==ON_LOCAL) { if(cfg.node_editor[0] && online==ON_LOCAL) {
external(cmdstr(cfg.node_editor,str,nulstr,NULL),0,cfg.node_dir); external(cmdstr(cfg.node_editor,str,nulstr,NULL),0,cfg.node_dir);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment