...
 
Commits (3)
......@@ -144,7 +144,7 @@ static JSBool js_user_get(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
jsval idval;
char* s=NULL;
char tmp[128];
uint64_t val=0;
int64_t val=0;
jsint tiny;
JSString* js_str;
private_t* p;
......
......@@ -321,7 +321,7 @@ BOOL sbbs_t::newuser()
if(gettmplt(str, "nnnn/nn/nn", K_EDIT) < 10)
continue;
int age = getage(&cfg, str);
if(age >= 1 && age <= 150) {
if(age >= 0 && age <= 200) {
SAFEPRINTF3(useron.birth, "%.4s%.2s%.2s", str, str + 5, str + 8);
break;
}
......