Commits (1)
......@@ -22,6 +22,7 @@
#include "sbbs.h"
#include "js_request.h"
#include "ver.h"
#include "filedat.h"
#ifdef JAVASCRIPT
......@@ -1738,7 +1739,7 @@ js_new_user(JSContext *cx, uintN argc, jsval *arglist)
if(cfg->total_fcomps)
strcpy(user.tmpext,cfg->fcomp[0]->ext);
else
strcpy(user.tmpext,"ZIP");
strcpy(user.tmpext,supported_archive_formats[0]);
user.shell=cfg->new_shell;
user.misc=cfg->new_misc|(AUTOTERM|COLOR);
......
......@@ -22,6 +22,7 @@
#include "sbbs.h"
#include "petdefs.h"
#include "cmdshell.h"
#include "filedat.h"
/****************************************************************************/
/* This function is invoked when a user enters "NEW" at the NN: prompt */
......@@ -118,7 +119,7 @@ BOOL sbbs_t::newuser()
if(cfg.total_fcomps)
SAFECOPY(useron.tmpext,cfg.fcomp[0]->ext);
else
SAFECOPY(useron.tmpext,"ZIP");
SAFECOPY(useron.tmpext,supported_archive_formats[0]);
useron.shell=cfg.new_shell;
......