From 10d6901e9f067a5229331e1bb59b5182530e54e9 Mon Sep 17 00:00:00 2001 From: piaip Date: Fri, 26 Aug 2011 12:06:59 +0000 Subject: 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 --- pttbbs/mbbsd/kaede.c | 6 ------ 1 file changed, 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. -- cgit v1.2.3