summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2011-08-26 20:06:59 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2011-08-26 20:06:59 +0800
commit10d6901e9f067a5229331e1bb59b5182530e54e9 (patch)
tree85e6f70685eec2eac12c440add91dc94a03e00dc
parent00957455004e061b1e05eafd21975f0b111fa433 (diff)
downloadpttbbs-10d6901e9f067a5229331e1bb59b5182530e54e9.tar
pttbbs-10d6901e9f067a5229331e1bb59b5182530e54e9.tar.gz
pttbbs-10d6901e9f067a5229331e1bb59b5182530e54e9.tar.bz2
pttbbs-10d6901e9f067a5229331e1bb59b5182530e54e9.tar.lz
pttbbs-10d6901e9f067a5229331e1bb59b5182530e54e9.tar.xz
pttbbs-10d6901e9f067a5229331e1bb59b5182530e54e9.tar.zst
pttbbs-10d6901e9f067a5229331e1bb59b5182530e54e9.zip
remove esc_star code: **l and **p
both are useless and cofusing to end users git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5389 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/kaede.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/pttbbs/mbbsd/kaede.c b/pttbbs/mbbsd/kaede.c
index 9a594311..446a5303 100644
--- a/pttbbs/mbbsd/kaede.c
+++ b/pttbbs/mbbsd/kaede.c
@@ -29,12 +29,6 @@ expand_esc_star(char *buf, const char *src, int szbuf)
case 'n': // current user nickname
strlcpy(buf, cuser.nickname, szbuf);
return 2;
- case 'l': // current user logins
- snprintf(buf, szbuf, "%d", cuser.numlogindays);
- return 2;
- case 'p': // current user posts
- snprintf(buf, szbuf, "%d", cuser.numposts);
- return 2;
}
// unknown characters, return from star.