懂了,我要自己写注册过程,所以我现在可以自己直接给权限吧。我就怕中间有什么没有做到哈。
struct userec *lookupuser;
if (getuser(uinfo.userid, &lookupuser)) {
lookupuser->userlevel |= PERM_DEFAULT;
}
update_user(&uinfo, unum, 0);
不用管其它的了吧。比如什么end_mmapfile,misc flush什么的?
【 在 atppp (Big Mouse) 的大作中提到: 】
: 这类历史问题,一般就是因为大家都懒得改。
: if it works, then don't change. .. hehehe
--
FROM 210.34.218.*