changeset 1116:14e458020e23

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)
author Mikael Berthe <mikael@lilotux.net>
date Sat, 06 Jan 2007 12:10:17 +0100
parents 922a9ae1a17e
children c68b3c9f616e
files mcabber/src/hooks.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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