From 0afef1171662c9247055bbe594d8495deb56d612 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 7 Aug 2004 15:11:05 +0000 Subject: [PATCH] Changed menu logging --- ChangeLog | 1 + TODO | 7 +++++++ mbsebbs/menu.c | 7 ++++--- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2feea92d..82fe75f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/TODO b/TODO index def9dada..47969269 100644 --- a/TODO +++ b/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. diff --git a/mbsebbs/menu.c b/mbsebbs/menu.c index 28294b02..8b7466aa 100644 --- a/mbsebbs/menu.c +++ b/mbsebbs/menu.c @@ -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) { /*