# HG changeset patch # User Matti Hamalainen # Date 1337546026 -10800 # Node ID f45673fe6b234ad0c2a6043bd64f531d4f763aaa # Parent 25296478a6e638fccc11bba69ec485772286e1e2 Log private messages always in the PRV format. diff -r 25296478a6e6 -r f45673fe6b23 nnchat.c --- a/nnchat.c Sun May 20 23:31:33 2012 +0300 +++ b/nnchat.c Sun May 20 23:33:46 2012 +0300 @@ -650,9 +650,11 @@ win = findWindow(name); if (win != NULL) { - printMsgF(win, isIgnored ? LOG_FILE : (LOG_WINDOW | LOG_FILE), + printMsgF(win, isIgnored ? 0 : LOG_WINDOW, "½5½<½%d½%s½5½>½0½ %s\n", isMine ? 14 : 15, isMine ? optUserName : name, msg); + + printMsgF(NULL, LOG_FILE, "½11½%s½0½\n", h); } else { printMsgF(NULL, isIgnored ? LOG_FILE : (LOG_WINDOW | LOG_FILE), "½11½%s½0½\n", h);