mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Added assert to mucwin_info
This commit is contained in:
parent
1602011e01
commit
6c2617ccda
@ -737,6 +737,8 @@ mucwin_role_set_error(ProfMucWin *mucwin, const char *const nick, const char *co
|
||||
void
|
||||
mucwin_info(ProfMucWin *mucwin)
|
||||
{
|
||||
assert(mucwin != NULL);
|
||||
|
||||
char *role = muc_role_str(mucwin->roomjid);
|
||||
char *affiliation = muc_affiliation_str(mucwin->roomjid);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user