diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-15 23:45:44 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-15 23:45:44 +0800 |
commit | 7fddaa3bdcae16d3b09c2feb328efd90fedc513b (patch) | |
tree | 5c2aec9b584a011fd08f4384ddd34866b7ae42b3 | |
parent | 456779bdaa621c4a9ff92fe01f6891d2088a5223 (diff) | |
download | pttbbs-7fddaa3bdcae16d3b09c2feb328efd90fedc513b.tar pttbbs-7fddaa3bdcae16d3b09c2feb328efd90fedc513b.tar.gz pttbbs-7fddaa3bdcae16d3b09c2feb328efd90fedc513b.tar.bz2 pttbbs-7fddaa3bdcae16d3b09c2feb328efd90fedc513b.tar.lz pttbbs-7fddaa3bdcae16d3b09c2feb328efd90fedc513b.tar.xz pttbbs-7fddaa3bdcae16d3b09c2feb328efd90fedc513b.tar.zst pttbbs-7fddaa3bdcae16d3b09c2feb328efd90fedc513b.zip |
give a warning before giving money
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1185 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/talk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 7abb595a..2a0a7fe6 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -2277,6 +2277,9 @@ userlist(void) clrtoeol(); if ((ch = atoi(genbuf)) <= 0 || ch <= give_tax(ch)) break; + sprintf(genbuf, "½T©wnµ¹ %s %d Ptt ¹ô¶Ü? [N/y]", uentp->userid, ch); + if (getans(genbuf) != 'y') + break; reload_money(); if (ch > cuser.money) { |