mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Added assert to mucwin_show_affiliation_list
This commit is contained in:
parent
3341e8c202
commit
2792c59031
@ -560,6 +560,8 @@ mucwin_handle_affiliation_list(ProfMucWin *mucwin, const char *const affiliation
|
||||
void
|
||||
mucwin_show_affiliation_list(ProfMucWin *mucwin, muc_affiliation_t affiliation)
|
||||
{
|
||||
assert(mucwin != NULL);
|
||||
|
||||
ProfWin *window = (ProfWin*) mucwin;
|
||||
GSList *occupants = muc_occupants_by_affiliation(mucwin->roomjid, affiliation);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user