Changed menu logging
This commit is contained in:
parent
326b4e32f7
commit
0afef11716
@ -28,6 +28,7 @@ v0.61.3 25-Jul-2004
|
||||
mbsebbs:
|
||||
When a netmail reply is done to a node without a valid address
|
||||
we ask the user if he wants to continue.
|
||||
Changed menu logging
|
||||
|
||||
mbtask:
|
||||
Added defaults for questions for screenlen, newmail chack and
|
||||
|
7
TODO
7
TODO
@ -25,6 +25,8 @@ everything:
|
||||
|
||||
N: Increase size of Unix usernames > 8.
|
||||
|
||||
N: Add personal message area.
|
||||
|
||||
install:
|
||||
N: On some (unsupported) distro's with xinetd the installation script
|
||||
also adds entries to inetd.conf.
|
||||
@ -114,6 +116,11 @@ mbfido:
|
||||
|
||||
N: Hatch statistics are not updated.
|
||||
|
||||
N: Copy personal mail to a personal message area.
|
||||
|
||||
N: Implement areamgr/filemgr %avail command to list available areas
|
||||
from areas files.
|
||||
|
||||
mbcico:
|
||||
L: Implement binkp option ND.
|
||||
|
||||
|
@ -93,6 +93,7 @@ void menu()
|
||||
|
||||
Input = calloc(PATH_MAX, sizeof(char));
|
||||
sMenuPathFileName = calloc(PATH_MAX, sizeof(char));
|
||||
Syslog('+', "Starting menu loop");
|
||||
|
||||
/*
|
||||
* Loop forever, this is what a BBS should do until a user logs out.
|
||||
@ -110,9 +111,9 @@ void menu()
|
||||
sprintf(sMenuPathFileName,"%s/%s", CFG.bbs_menus, Menus[MenuLevel]);
|
||||
pMenuFile = fopen(sMenuPathFileName,"r");
|
||||
if (pMenuFile != NULL)
|
||||
Syslog('+', "Menu %s (Default)", Menus[MenuLevel]);
|
||||
Syslog('b', "Menu %s (Default)", Menus[MenuLevel]);
|
||||
} else {
|
||||
Syslog('+', "Menu %s (%s)", Menus[MenuLevel], lang.Name);
|
||||
Syslog('b', "Menu %s (%s)", Menus[MenuLevel], lang.Name);
|
||||
}
|
||||
|
||||
if (pMenuFile == NULL) {
|
||||
@ -224,7 +225,7 @@ void menu()
|
||||
|
||||
if ((strcmp(tu(Input), menus.MenuKey)) == 0) {
|
||||
if ((Le_Access(exitinfo.Security, menus.MenuSecurity)) && (UserAge >= le_int(menus.Age))) {
|
||||
Syslog('b', "Menu[%d] %d=(%s), Opt: '%s'", MenuLevel, le_int(menus.MenuType),
|
||||
Syslog('+', "Menu[%d] %d=(%s), Opt: '%s'", MenuLevel, le_int(menus.MenuType),
|
||||
menus.TypeDesc, menus.OptionalData);
|
||||
if (le_int(menus.MenuType) == 13) {
|
||||
/*
|
||||
|
Reference in New Issue
Block a user