summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/mbbsd/mbbsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pttbbs/mbbsd/mbbsd.c b/pttbbs/mbbsd/mbbsd.c
index 277a0971..a9dec00b 100644
--- a/pttbbs/mbbsd/mbbsd.c
+++ b/pttbbs/mbbsd/mbbsd.c
@@ -1170,9 +1170,9 @@ user_login(void)
}
if (!(HasUserPerm(PERM_SYSOP) && HasUserPerm(PERM_SYSOPHIDE)) &&
- !currutmp->invisible)
- {
- /* do_aloha is costly. do it later? */
+ !HasUserRole(ROLE_HIDE_FROM) && !currutmp->invisible) {
+ /* do_aloha is costly. do it later? And don't alert if previous
+ * login was just minutes ago... */
do_aloha("<<上站通知>> -- 我來啦!");
}