# HG changeset patch # User Matti Hamalainen # Date 1224978641 -10800 # Node ID 3e2548c3eb5171295a635ffbd8ebf0ff6efc631d # Parent bb25bdfc0d71a2a3dd223affa2a30719b7d79150 Fix PRV handling. diff -r bb25bdfc0d71 -r 3e2548c3eb51 nnchat.c --- a/nnchat.c Thu Oct 23 02:13:39 2008 +0300 +++ b/nnchat.c Sun Oct 26 02:50:41 2008 +0300 @@ -760,14 +760,13 @@ if (*s == '/') { - if (!strncmp(s, "/BPRV", 5)) { - t = stripTags(s + 2); + t = stripTags(s + 1); + if (!strncmp(t, "BPRV", 4)) { + h = decodeStr2(t + 1); + printMsg("½11½%s½0½\n", h); + } else { h = decodeStr2(t); - printMsg("%s\n", h); - } else { - t = stripTags(s + 1); - h = decodeStr2(t); - printMsg("* %s\n", h); + printMsg("½9½* %s½0½\n", h); } th_free(h); th_free(t);