summaryrefslogtreecommitdiffstats
path: root/mbbsd/friend.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/friend.c')
-rw-r--r--mbbsd/friend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/friend.c b/mbbsd/friend.c
index 6d7ed3f5..17a1cc25 100644
--- a/mbbsd/friend.c
+++ b/mbbsd/friend.c
@@ -420,7 +420,7 @@ friend_edit(int type)
sscanf(line, "%s", uident); // XXX check buffer size
sethomefile(genbuf, uident,
type == FRIEND_ALOHA ? "aloha" : "postnotify");
- del_distinct(genbuf, cuser.userid);
+ del_distinct(genbuf, cuser->userid);
}
fclose(fp);
}
@@ -430,7 +430,7 @@ friend_edit(int type)
sscanf(line, "%s", uident); // XXX check buffer size
sethomefile(genbuf, uident,
type == FRIEND_ALOHA ? "aloha" : "postnotify");
- add_distinct(genbuf, cuser.userid);
+ add_distinct(genbuf, cuser->userid);
}
fclose(fp);
}