summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-09-21 01:11:04 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-09-21 01:11:04 +0800
commit2b3b00dc185e362e46f93a6ad50fb4d423452551 (patch)
treefa2d9646bf9c08a867edf90293d1e075dc2d3309
parentf346feab4017a90b42335ff3feea0302754e7178 (diff)
downloadpttbbs-2b3b00dc185e362e46f93a6ad50fb4d423452551.tar
pttbbs-2b3b00dc185e362e46f93a6ad50fb4d423452551.tar.gz
pttbbs-2b3b00dc185e362e46f93a6ad50fb4d423452551.tar.bz2
pttbbs-2b3b00dc185e362e46f93a6ad50fb4d423452551.tar.lz
pttbbs-2b3b00dc185e362e46f93a6ad50fb4d423452551.tar.xz
pttbbs-2b3b00dc185e362e46f93a6ad50fb4d423452551.tar.zst
pttbbs-2b3b00dc185e362e46f93a6ad50fb4d423452551.zip
* remove unnecessary feature
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3563 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/talk.c29
1 files changed, 1 insertions, 28 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index ed2156cb..e2bc8354 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -2461,30 +2461,6 @@ userlist(void)
}
break;
- case 'D':
- if (HasUserPerm(PERM_SYSOP)) {
- char buf[100];
- snprintf(buf, sizeof(buf),
- "¥N¸¹ [%s]¡G", currutmp->userid);
- if (!getdata(1, 0, buf, currutmp->userid,
- sizeof(buf), DOECHO))
- strlcpy(currutmp->userid, cuser.userid, sizeof(currutmp->userid));
- redrawall = redraw = 1;
- }
- break;
-
- case 'F':
- if (HasUserPerm(PERM_SYSOP)) {
- char buf[100];
-
- snprintf(buf, sizeof(buf), "¬G¶m [%s]¡G", currutmp->from);
- if (!getdata(1, 0, buf, currutmp->from,
- sizeof(currutmp->from), DOECHO))
- strlcpy(currutmp->from, buf, sizeof(currutmp->from));
- redrawall = redraw = 1;
- }
- break;
-
case 'C':
#if !HAVE_FREECLOAK
if (HasUserPerm(PERM_CLOAK))
@@ -2965,10 +2941,7 @@ t_users(void)
assert(strncmp(cuser.userid, currutmp->userid, IDLEN)==0);
if( strncmp(cuser.userid , currutmp->userid, IDLEN) != 0 ){
- if( HasUserPerm(PERM_SYSOP) )
- vmsg("warning: currutmp userid is changed");
- else
- abort_bbs(0);
+ abort_bbs(0);
}
setutmpmode(LUSERS);