mucwin_role_set_error takes ProfMucWin
This commit is contained in:
@@ -725,13 +725,13 @@ mucwin_affiliation_set_error(ProfMucWin *mucwin, const char *const jid, const ch
|
||||
}
|
||||
|
||||
void
|
||||
mucwin_role_set_error(const char *const roomjid, const char *const nick, const char *const role,
|
||||
mucwin_role_set_error(ProfMucWin *mucwin, const char *const nick, const char *const role,
|
||||
const char *const error)
|
||||
{
|
||||
ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
|
||||
if (window) {
|
||||
win_vprint(window, '!', 0, NULL, 0, THEME_ERROR, "", "Error setting %s role for %s: %s", role, nick, error);
|
||||
}
|
||||
assert(mucwin != NULL);
|
||||
|
||||
ProfWin *window = (ProfWin*)mucwin;
|
||||
win_vprint(window, '!', 0, NULL, 0, THEME_ERROR, "", "Error setting %s role for %s: %s", role, nick, error);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -201,8 +201,7 @@ void mucwin_affiliation_list_error(ProfMucWin *mucwin, const char *const affilia
|
||||
void mucwin_handle_affiliation_list(ProfMucWin *mucwin, const char *const affiliation, GSList *jids);
|
||||
void mucwin_affiliation_set_error(ProfMucWin *mucwin, const char *const jid, const char *const affiliation,
|
||||
const char *const error);
|
||||
void mucwin_role_set_error(const char *const roomjid, const char *const nick, const char *const role,
|
||||
const char *const error);
|
||||
void mucwin_role_set_error(ProfMucWin *mucwin, const char *const nick, const char *const role, const char *const error);
|
||||
void mucwin_role_list_error(ProfMucWin *mucwin, const char *const role, const char *const error);
|
||||
void mucwin_handle_role_list(ProfMucWin *mucwin, const char *const role, GSList *nicks);
|
||||
void mucwin_kick_error(ProfMucWin *mucwin, const char *const nick, const char *const error);
|
||||
|
||||
Reference in New Issue
Block a user