1
0
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:
James Booth 2015-11-02 00:53:54 +00:00
parent 1602011e01
commit 6c2617ccda

View File

@ -737,6 +737,8 @@ mucwin_role_set_error(ProfMucWin *mucwin, const char *const nick, const char *co
void void
mucwin_info(ProfMucWin *mucwin) mucwin_info(ProfMucWin *mucwin)
{ {
assert(mucwin != NULL);
char *role = muc_role_str(mucwin->roomjid); char *role = muc_role_str(mucwin->roomjid);
char *affiliation = muc_affiliation_str(mucwin->roomjid); char *affiliation = muc_affiliation_str(mucwin->roomjid);