Commit 8acc272e authored by rswindell's avatar rswindell
Browse files

If the file is offline, and sysop, print the full file path.

parent b0edda4c
......@@ -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 2005 Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright 2008 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 *
......@@ -91,8 +91,11 @@ void sbbs_t::fileinfo(file_t* f)
CRLF;
putmsg(ext,P_NOATCODES);
CRLF; }
if(f->size==-1L)
if(f->size==-1L) {
bprintf(text[FileIsNotOnline],f->name);
if(SYSOP)
bprintf("%s\r\n",fpath);
}
if(f->opencount)
bprintf(text[FileIsOpen],f->opencount,f->opencount>1 ? "s" : nulstr);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment