Refactor win_print_history()

We never use the printf like behaviour anyways.
This commit is contained in:
Michael Vetter
2020-02-17 12:05:58 +01:00
parent 6e68f1812b
commit ea5a947f52
4 changed files with 6 additions and 14 deletions

View File

@@ -379,7 +379,7 @@ mucwin_history(ProfMucWin *mucwin, const char *const nick, GDateTime *timestamp,
g_string_append(line, message);
}
win_print_history(window, timestamp, "%s", line->str);
win_print_history(window, timestamp, line->str);
g_string_free(line, TRUE);
plugins_on_room_history_message(mucwin->roomjid, nick, message, timestamp);