void logged_in_response(void)
{
cprintf("%d %s|%d|%ld|%ld|%u|%ld|%ld\n",
void logged_in_response(void)
{
cprintf("%d %s|%d|%ld|%ld|%u|%ld|%ld\n",
- OK, CC->usersupp.fullname, CC->usersupp.axlevel,
+ CIT_OK, CC->usersupp.fullname, CC->usersupp.axlevel,
CC->usersupp.timescalled, CC->usersupp.posted,
CC->usersupp.flags, CC->usersupp.usernum,
CC->usersupp.lastcall);
CC->usersupp.timescalled, CC->usersupp.posted,
CC->usersupp.flags, CC->usersupp.usernum,
CC->usersupp.lastcall);
return;
}
lgetuser(&CC->usersupp, CC->curr_user);
strcpy(CC->usersupp.password, new_pw);
lputuser(&CC->usersupp);
return;
}
lgetuser(&CC->usersupp, CC->curr_user);
strcpy(CC->usersupp.password, new_pw);
lputuser(&CC->usersupp);
rec_log(CL_PWCHANGE, CC->curr_user);
PerformSessionHooks(EVT_SETPASS);
}
rec_log(CL_PWCHANGE, CC->curr_user);
PerformSessionHooks(EVT_SETPASS);
}
return;
} else if (a == ERROR + ALREADY_EXISTS) {
cprintf("%d '%s' already exists.\n",
return;
} else if (a == ERROR + ALREADY_EXISTS) {
cprintf("%d '%s' already exists.\n",
getuser(&CC->usersupp, CC->curr_user);
cprintf("%d %d|%d|%d|%d\n",
getuser(&CC->usersupp, CC->curr_user);
cprintf("%d %d|%d|%d|%d\n",
CC->usersupp.USscreenwidth,
CC->usersupp.USscreenheight,
(CC->usersupp.flags & US_USER_SET),
CC->usersupp.USscreenwidth,
CC->usersupp.USscreenheight,
(CC->usersupp.flags & US_USER_SET),
target_setting = extract_int(argbuf, 1);
CtdlSetSeen(target_msgnum, target_setting);
target_setting = extract_int(argbuf, 1);
CtdlSetSeen(target_msgnum, target_setting);
/* If the access level was set to zero, delete the user */
if (newax == 0) {
if (purge_user(user) == 0) {
/* If the access level was set to zero, delete the user */
if (newax == 0) {
if (purge_user(user) == 0) {
- cprintf("%d %d|%d|%d\n", OK, mail, regis, vali);
+ cprintf("%d %d|%d|%d\n", CIT_OK, mail, regis, vali);