summaryrefslogtreecommitdiffstats
path: root/mbbsd/register.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/register.c')
-rw-r--r--mbbsd/register.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/register.c b/mbbsd/register.c
index 495fdfcd..224f480a 100644
--- a/mbbsd/register.c
+++ b/mbbsd/register.c
@@ -1,4 +1,5 @@
/* $Id$ */
+#define PWCU_IMPL
#include "bbs.h"
#define FN_REGISTER_LOG "register.log" // global registration history
@@ -1287,7 +1288,7 @@ toregister(char *email)
snprintf(cuser.justify, sizeof(cuser.justify),
"<Mobile>");
#endif
- email_justify(&cuser);
+ email_justify(cuser_ref);
}
}
@@ -1581,7 +1582,7 @@ u_register(void)
toregister(email);
// update cuser
- passwd_sync_update(usernum, &cuser);
+ passwd_sync_update(usernum, cuser_ref);
return FULLUPDATE;
}