summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-04-06 13:46:17 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-04-06 13:46:17 +0800
commit2670e0eb2a99eb0cb6fb901f38cb65af6ddd897e (patch)
tree0c512e9c5421dce53542e95f861a42eb74a6ff40 /mbbsd
parent6029cc38a46421ab03c09ada1b9a9696cf3f0700 (diff)
downloadpttbbs-2670e0eb2a99eb0cb6fb901f38cb65af6ddd897e.tar
pttbbs-2670e0eb2a99eb0cb6fb901f38cb65af6ddd897e.tar.gz
pttbbs-2670e0eb2a99eb0cb6fb901f38cb65af6ddd897e.tar.bz2
pttbbs-2670e0eb2a99eb0cb6fb901f38cb65af6ddd897e.tar.lz
pttbbs-2670e0eb2a99eb0cb6fb901f38cb65af6ddd897e.tar.xz
pttbbs-2670e0eb2a99eb0cb6fb901f38cb65af6ddd897e.tar.zst
pttbbs-2670e0eb2a99eb0cb6fb901f38cb65af6ddd897e.zip
confirm again if SYSOP broadcast
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@772 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/talk.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 4f1688fc..c6014dfd 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1,4 +1,4 @@
-/* $Id: talk.c,v 1.101 2003/02/24 11:42:04 victor Exp $ */
+/* $Id: talk.c,v 1.102 2003/04/06 05:46:17 in2 Exp $ */
#include "bbs.h"
#define QCAST int (*)(const void *, const void *)
@@ -2061,6 +2061,12 @@ userlist(void)
*ans == 'n')
break;
if (!(cuser.uflag & FRIEND_FLAG) && HAS_PERM(PERM_SYSOP)) {
+ if( getdata(1, 0, "再次確定站長廣播? [N]",
+ ans, sizeof(ans), LCECHO) &&
+ *ans != 'y' && *ans != 'Y' ){
+ vmsg("abort");
+ break;
+ }
for (i = 0; i < SHM->UTMPnumber; ++i) {
uentp = SHM->sorted[SHM->currsorted][0][i];
if (uentp->pid && kill(uentp->pid, 0) != -1)