diff options
Diffstat (limited to 'mbbsd/stuff.c')
-rw-r--r-- | mbbsd/stuff.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c index a18e7989..787ef8dd 100644 --- a/mbbsd/stuff.c +++ b/mbbsd/stuff.c @@ -15,9 +15,7 @@ static const char * const str_dotdir = FN_DIR; void setuserfile(char *buf, const char *fname) { - assert(is_validuserid(cuser.userid)); - assert(fname[0]); - snprintf(buf, PATHLEN, str_home_file, cuser.userid[0], cuser.userid, fname); + sethomefile(buf, cuser.userid, fname); } void |