mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 20:26:21 +00:00
Added assert to mucwin_show_affiliation_list
This commit is contained in:
@@ -560,6 +560,8 @@ mucwin_handle_affiliation_list(ProfMucWin *mucwin, const char *const affiliation
|
|||||||
void
|
void
|
||||||
mucwin_show_affiliation_list(ProfMucWin *mucwin, muc_affiliation_t affiliation)
|
mucwin_show_affiliation_list(ProfMucWin *mucwin, muc_affiliation_t affiliation)
|
||||||
{
|
{
|
||||||
|
assert(mucwin != NULL);
|
||||||
|
|
||||||
ProfWin *window = (ProfWin*) mucwin;
|
ProfWin *window = (ProfWin*) mucwin;
|
||||||
GSList *occupants = muc_occupants_by_affiliation(mucwin->roomjid, affiliation);
|
GSList *occupants = muc_occupants_by_affiliation(mucwin->roomjid, affiliation);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user