summaryrefslogtreecommitdiffstats
path: root/mbbsd/cal.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-05-08 20:36:21 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-05-08 20:36:21 +0800
commitd9779e22308a1b7f2ff77c2b79567ccf742b5036 (patch)
tree17cfa00aeb74a130d4708f53613d7378b476140b /mbbsd/cal.c
parent133c8925067a703dfef58607fd2ca636fa3b2922 (diff)
downloadpttbbs-d9779e22308a1b7f2ff77c2b79567ccf742b5036.tar
pttbbs-d9779e22308a1b7f2ff77c2b79567ccf742b5036.tar.gz
pttbbs-d9779e22308a1b7f2ff77c2b79567ccf742b5036.tar.bz2
pttbbs-d9779e22308a1b7f2ff77c2b79567ccf742b5036.tar.lz
pttbbs-d9779e22308a1b7f2ff77c2b79567ccf742b5036.tar.xz
pttbbs-d9779e22308a1b7f2ff77c2b79567ccf742b5036.tar.zst
pttbbs-d9779e22308a1b7f2ff77c2b79567ccf742b5036.zip
- (internal) xchatd: remove unused code
- (internal) general code refine git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4279 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cal.c')
-rw-r--r--mbbsd/cal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c
index 4cacb91a..4082de51 100644
--- a/mbbsd/cal.c
+++ b/mbbsd/cal.c
@@ -394,11 +394,11 @@ int do_give_money(char *id, int uid, int money)
// penalty
if (money < 50) {
- usleep(2000000);
+ usleep(2000000); // 2 sec
} else if (money < 200) {
- usleep(500000);
+ usleep(500000); // 0.5 sec
} else {
- usleep(100000);
+ usleep(100000); // 0.1 sec
}
return 0;
}