summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-07-19 09:26:33 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-07-19 09:26:33 +0800
commit27d10ea6d3acaec8e49c251969da74ece95940b1 (patch)
tree1dddc9b92b62e19d51ede684543da2f344d27734
parent3f6bd0a483e7c23a492cbbaa1f60a2a0fcd1bb2d (diff)
downloadpttbbs-27d10ea6d3acaec8e49c251969da74ece95940b1.tar
pttbbs-27d10ea6d3acaec8e49c251969da74ece95940b1.tar.gz
pttbbs-27d10ea6d3acaec8e49c251969da74ece95940b1.tar.bz2
pttbbs-27d10ea6d3acaec8e49c251969da74ece95940b1.tar.lz
pttbbs-27d10ea6d3acaec8e49c251969da74ece95940b1.tar.xz
pttbbs-27d10ea6d3acaec8e49c251969da74ece95940b1.tar.zst
pttbbs-27d10ea6d3acaec8e49c251969da74ece95940b1.zip
fix bug of SYSOP broadcast
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1063 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/talk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 239c2ded..8246801b 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1,4 +1,4 @@
-/* $Id: talk.c,v 1.111 2003/07/06 07:23:10 in2 Exp $ */
+/* $Id: talk.c,v 1.112 2003/07/19 01:26:33 in2 Exp $ */
#include "bbs.h"
#define QCAST int (*)(const void *, const void *)
@@ -2116,9 +2116,9 @@ 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' ){
+ getdata(1, 0, "再次確定站長廣播? [N]",
+ ans, sizeof(ans), LCECHO);
+ if( *ans != 'y' && *ans != 'Y' ){
vmsg("abort");
break;
}