From ccd9c81ff6d7365eb4c11f7b881ae6c00a037d58 Mon Sep 17 00:00:00 2001 From: in2 Date: Mon, 8 Mar 2004 08:38:27 +0000 Subject: NO_SYSOP_ACCOUNT git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1581 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/mbbsd.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mbbsd') diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 9e135c76..2c182a87 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -609,12 +609,16 @@ login_query() } else { logattempt(cuser.userid, ' '); if (strcasecmp("SYSOP", cuser.userid) == 0){ +#ifdef NO_SYSOP_ACCOUNT + exit(0); +#else /* 自動加上各個主要權限 */ cuser.userlevel = PERM_BASIC | PERM_CHAT | PERM_PAGE | PERM_POST | PERM_LOGINOK | PERM_MAILLIMIT | PERM_CLOAK | PERM_SEECLOAK | PERM_XEMPT | PERM_DENYPOST | PERM_BM | PERM_ACCOUNTS | PERM_CHATROOM | PERM_BOARD | PERM_SYSOP | PERM_BBSADM; mkuserdir(cuser.userid); +#endif } break; } -- cgit v1.2.3