# HG changeset patch # User Mikael Berthe # Date 1168081817 -3600 # Node ID 14e458020e23db54298b4a395bf6f09c9bad6148 # Parent 922a9ae1a17e4dee54c94b7e136ce7fd346ac0de Fix a bug in the history logging (incoming "/me " messages) There is a bug in the history logging. If someone sends a "/me bla" message, it won't be saved, only "MR 20070105T00:23:05Z 000" (Problem reported by Frank Zschockelt) diff -r 922a9ae1a17e -r 14e458020e23 mcabber/src/hooks.c --- a/mcabber/src/hooks.c Thu Dec 28 15:00:59 2006 +0100 +++ b/mcabber/src/hooks.c Sat Jan 06 12:10:17 2007 +0100 @@ -65,6 +65,7 @@ wmsg = mmsg = g_strdup_printf("*%s %s", resname, msg+4); } } else { + bmsg = g_strdup(msg); if (!strncmp(msg, COMMAND_ME, strlen(COMMAND_ME))) wmsg = mmsg = g_strdup_printf("*%s %s", bjid, msg+4); else