summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/bbs.c2
-rw-r--r--mbbsd/mail.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index fff7418e..eae15f51 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -399,7 +399,7 @@ do_unanonymous_post(char *fpath)
if (dashd(genbuf)) {
stampfile(genbuf, &mhdr);
unlink(genbuf);
- // XXX: Link should use ~/ or BBSHOME/blah
+ // XXX: Link should use BBSHOME/blah
Link(fpath, genbuf);
strlcpy(mhdr.owner, cuser.userid, sizeof(mhdr.owner));
strlcpy(mhdr.title, save_title, sizeof(mhdr.title));
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index 260ebc4c..82263f74 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -1725,11 +1725,11 @@ mail_justify(userec_t muser)
bsmtp(NULL, title, muser.email, MQ_JUSTIFY)
#endif
<0)
- Link("~/etc/bademail", buf1);
+ Link(BBSHOME "/etc/bademail", buf1);
else
- Link("~/etc/replyemail", buf1);
+ Link(BBSHOME "/etc/replyemail", buf1);
} else
- Link("~/etc/bademail", buf1);
+ Link(BBSHOME "/etc/bademail", buf1);
sethomedir(title, muser.userid);
append_record_forward(title, &mhdr, sizeof(mhdr));
}