mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
Clear privset on deoper.
This commit is contained in:
parent
7d5acab766
commit
83dfad0e75
1 changed files with 2 additions and 0 deletions
|
@ -965,6 +965,8 @@ user_mode(struct Client *client_p, struct Client *source_p, int parc, const char
|
||||||
source_p->localClient->opername = NULL;
|
source_p->localClient->opername = NULL;
|
||||||
|
|
||||||
rb_dlinkFindDestroy(source_p, &local_oper_list);
|
rb_dlinkFindDestroy(source_p, &local_oper_list);
|
||||||
|
privilegeset_unref(source_p->localClient->privset);
|
||||||
|
source_p->localClient->privset = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
rb_dlinkFindDestroy(source_p, &oper_list);
|
rb_dlinkFindDestroy(source_p, &oper_list);
|
||||||
|
|
Loading…
Reference in a new issue