summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r--mbbsd/talk.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 013b9885..099006e4 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -3061,6 +3061,14 @@ t_users(void)
abort_bbs(0);
}
+ // cannot do ZA for re-entrant.
+ // usually happens when doing ^U, ^Z with non-return
+ // env like editor.
+ if (ZA_Waiting())
+ ZA_Drop();
+
+ // TODO drop if we were already in t_users?
+
setutmpmode(LUSERS);
userlist();
currutmp->mode = mode0;