summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-07 10:22:53 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-07 10:22:53 +0800
commit207ed6cf4ce0603d1ba551f0f44ece4c5e2650b0 (patch)
tree9357ef7d424f704fe56550f935f0dab266c7cf20 /util
parent9f151c2c8a1f0dc43251c1653294ce9264b92c85 (diff)
downloadpttbbs-207ed6cf4ce0603d1ba551f0f44ece4c5e2650b0.tar
pttbbs-207ed6cf4ce0603d1ba551f0f44ece4c5e2650b0.tar.gz
pttbbs-207ed6cf4ce0603d1ba551f0f44ece4c5e2650b0.tar.bz2
pttbbs-207ed6cf4ce0603d1ba551f0f44ece4c5e2650b0.tar.lz
pttbbs-207ed6cf4ce0603d1ba551f0f44ece4c5e2650b0.tar.xz
pttbbs-207ed6cf4ce0603d1ba551f0f44ece4c5e2650b0.tar.zst
pttbbs-207ed6cf4ce0603d1ba551f0f44ece4c5e2650b0.zip
passwd change back
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1715 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/uhash_loader.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/uhash_loader.c b/util/uhash_loader.c
index 7c2f9beb..86c47414 100644
--- a/util/uhash_loader.c
+++ b/util/uhash_loader.c
@@ -121,8 +121,7 @@ void add_to_uhash(int n, userec_t *user)
{
int *p, h = string_hash(user->userid);
strcpy(SHM->userid[n], user->userid);
- SHM->money[n] = -1;
- //user->money;
+ SHM->money[n] = user->money;
p = &(SHM->hash_head[h]);