diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-06 20:16:23 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-06 20:16:23 +0800 |
commit | a1d171bf72cc949f8852258cf36016cbc70d98b9 (patch) | |
tree | 487277d76b6215e970d0cc9dd88dcfce4a0e391b /mbbsd/talk.c | |
parent | 131a77308798e2c314c7b1a00594e44d7cb3fa3d (diff) | |
download | pttbbs-a1d171bf72cc949f8852258cf36016cbc70d98b9.tar pttbbs-a1d171bf72cc949f8852258cf36016cbc70d98b9.tar.gz pttbbs-a1d171bf72cc949f8852258cf36016cbc70d98b9.tar.bz2 pttbbs-a1d171bf72cc949f8852258cf36016cbc70d98b9.tar.lz pttbbs-a1d171bf72cc949f8852258cf36016cbc70d98b9.tar.xz pttbbs-a1d171bf72cc949f8852258cf36016cbc70d98b9.tar.zst pttbbs-a1d171bf72cc949f8852258cf36016cbc70d98b9.zip |
- chicken: move chicken data to user directory, with mmap based synchronization.
- WARNING: PLEASE RUN upgrade/r3968_chicken.c TO MIGRATE USER CHICKEN DATA.
- YOU NEED TO RESTART BBS FOR THIS PATCH.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3968 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r-- | mbbsd/talk.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 03b73815..751fb897 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -438,26 +438,6 @@ my_kick(userinfo_t * uentp) pressanykey(); } -static void -chicken_query(const char *userid) -{ - userec_t xuser; - if (getuser(userid, &xuser)) { - if (xuser.mychicken.name[0]) { - time_diff(&(xuser.mychicken)); - if (!isdeadth(&(xuser.mychicken))) { - show_chicken_data(&(xuser.mychicken), NULL); - prints("\n\n以上是 %s 的寵物資料..", xuser.userid); - } - } else { - move(1, 0); - clrtobot(); - prints("\n\n%s 並沒有養寵物..", xuser.userid); - } - pressanykey(); - } -} - int my_query(const char *uident) { |