summaryrefslogtreecommitdiffstats
path: root/pttbbs/mbbsd/passwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'pttbbs/mbbsd/passwd.c')
-rw-r--r--pttbbs/mbbsd/passwd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/pttbbs/mbbsd/passwd.c b/pttbbs/mbbsd/passwd.c
index 3eeafc70..9011bfaa 100644
--- a/pttbbs/mbbsd/passwd.c
+++ b/pttbbs/mbbsd/passwd.c
@@ -264,7 +264,6 @@ int pwcuRegisterSetInfo (const char *rname,
const char *career,
const char *phone,
const char *email,
- int mobile,
uint8_t is_foreign)
{
PWCU_START();
@@ -273,7 +272,6 @@ int pwcuRegisterSetInfo (const char *rname,
strlcpy(u.career, career, sizeof(u.career));
strlcpy(u.phone, phone, sizeof(u.phone));
strlcpy(u.email, email, sizeof(u.email));
- u.mobile = mobile;
_SETBY_BIT(u.uflag, UF_FOREIGN, is_foreign);
// duplicate to cuser
@@ -282,7 +280,6 @@ int pwcuRegisterSetInfo (const char *rname,
strlcpy(cuser.career, career, sizeof(cuser.career));
strlcpy(cuser.phone, phone, sizeof(cuser.phone));
strlcpy(cuser.email, email, sizeof(cuser.email));
- cuser.mobile = mobile;
_SETBY_BIT(cuser.uflag, UF_FOREIGN, is_foreign);
PWCU_END();