summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/bbs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 0d947ebb..f36b8036 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -371,6 +371,8 @@ cancelpost(fileheader_t * fh, int by_BM, char *newpath)
char genbuf[200];
char nick[STRLEN], fn1[STRLEN];
+
+ if(!fh->filename[0]) return;
setbfile(fn1, currboard, fh->filename);
if ((fin = fopen(fn1, "r"))) {
brd = by_BM ? "deleted" : "junk";