mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Added assert to mucwin_show_role_list
This commit is contained in:
parent
7bedb6c294
commit
c9db9257ae
@ -661,7 +661,9 @@ mucwin_handle_role_list(ProfMucWin *mucwin, const char *const role, GSList *nick
|
|||||||
void
|
void
|
||||||
mucwin_show_role_list(ProfMucWin *mucwin, muc_role_t role)
|
mucwin_show_role_list(ProfMucWin *mucwin, muc_role_t role)
|
||||||
{
|
{
|
||||||
ProfWin *window = (ProfWin*) mucwin;
|
assert(mucwin != NULL);
|
||||||
|
|
||||||
|
ProfWin *window = (ProfWin*)mucwin;
|
||||||
GSList *occupants = muc_occupants_by_role(mucwin->roomjid, role);
|
GSList *occupants = muc_occupants_by_role(mucwin->roomjid, role);
|
||||||
|
|
||||||
if (!occupants) {
|
if (!occupants) {
|
||||||
|
Loading…
Reference in New Issue
Block a user