summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 754e5388..487641fb 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -182,9 +182,13 @@ u_exit(const char *mode)
cuser.pager = currutmp->pager;
memcpy(cuser.mind, currutmp->mind, 4);
setutmpbid(0);
- if (!(HasUserPerm(PERM_SYSOP) && HasUserPerm(PERM_SYSOPHIDE)) &&
- !currutmp->invisible)
- do_aloha("<<下站通知>> -- 我走囉!");
+
+ if (!SHM->GV2.e.shutdown) {
+ if (!(HasUserPerm(PERM_SYSOP) && HasUserPerm(PERM_SYSOPHIDE)) &&
+ !currutmp->invisible)
+ do_aloha("<<下站通知>> -- 我走囉!");
+ }
+
if ((cuser.uflag != enter_uflag) || dirty || diff) {
if (!diff && cuser.numlogins)