mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 22:56:21 +00:00
Added assert to mucwin_show_role_list
This commit is contained in:
@@ -661,7 +661,9 @@ mucwin_handle_role_list(ProfMucWin *mucwin, const char *const role, GSList *nick
|
||||
void
|
||||
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);
|
||||
|
||||
if (!occupants) {
|
||||
|
||||
Reference in New Issue
Block a user