mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -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
|
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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user