summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/pttstruct.h1
-rw-r--r--util/uhash_loader.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 5895c31d..c8944e02 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -189,6 +189,7 @@ typedef struct fileheader_t {
#define FILE_MARKED 0x2 /* opus: 0x8 */
#define FILE_DIGEST 0x4 /* digest */
#define FILE_HOLD 0x8 /* unused */
+#define FILE_BOTTOM 0x8 /* push_bottom */
#define FILE_SOLVED 0x10 /* problem solved, sysop only */
#define FILE_HIDE 0x20 /* hild */
#define FILE_BM 0x40 /* BM only */
diff --git a/util/uhash_loader.c b/util/uhash_loader.c
index 2ea80975..7c2f9beb 100644
--- a/util/uhash_loader.c
+++ b/util/uhash_loader.c
@@ -121,7 +121,8 @@ 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] = user->money;
+ SHM->money[n] = -1;
+ //user->money;
p = &(SHM->hash_head[h]);