author | Mikael Berthe <mikael@lilotux.net> |
Thu, 05 Jan 2006 22:23:41 +0100 | |
changeset 646 | a8cb28ca5ff4 |
parent 645 | d26a1c9611db |
child 647 | c6c41dd2464a |
--- a/mcabber/src/hooks.c Thu Jan 05 22:01:11 2006 +0100 +++ b/mcabber/src/hooks.c Thu Jan 05 22:23:41 2006 +0100 @@ -52,8 +52,11 @@ if (!resname) { message_flags = HBB_PREFIX_INFO; resname = ""; + bmsg = g_strdup_printf("~ %s", msg); + } else { + bmsg = g_strdup_printf("<%s> %s", resname, msg); } - wmsg = bmsg = g_strdup_printf("<%s> %s", resname, msg); + wmsg = bmsg; if (!strncmp(msg, "/me ", 4)) wmsg = mmsg = g_strdup_printf("*%s %s", resname, msg+4); } else {