diff mcabber/src/hooks.c @ 184:b5aa2b9c425a

[/trunk] Changeset 196 by mikael * Don't use a char* as prefix, but split it to timestamp + flags. * Don't use a boolean for timestamp, use a time_t (actually we always use a timestamp so the bool made no sense...).
author mikael
date Thu, 05 May 2005 19:38:44 +0000
parents cfefae4b6de9
children 9c2023d60986
line wrap: on
line diff
--- a/mcabber/src/hooks.c	Thu May 05 15:01:48 2005 +0000
+++ b/mcabber/src/hooks.c	Thu May 05 19:38:44 2005 +0000
@@ -44,7 +44,7 @@
   // Note: the hlog_write should not be called first, because in some
   // cases scr_WriteIncomingMessage() will load the history and we'd
   // have the message twice...
-  scr_WriteIncomingMessage(jid, buffer);
+  scr_WriteIncomingMessage(jid, buffer, timestamp);
   hlog_write_message(jid, timestamp, FALSE, buffer);
   hk_ext_cmd(jid, 'M', 'R', NULL);
   free(buffer);