diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-12-26 18:37:21 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-12-26 19:44:37 +0100 |
commit | 9fb3d3f14c17f8307f04907d5f57034410dc7010 (patch) | |
tree | 239415921e803382adf1abb9a334456c5d96711b /src/plugins/irc/irc-input.c | |
parent | 57f80a4c1fac3d5b3c194206c900b1066f9a565e (diff) | |
download | weechat-9fb3d3f14c17f8307f04907d5f57034410dc7010.zip |
core: store microseconds in buffer lines (closes #649)
Diffstat (limited to 'src/plugins/irc/irc-input.c')
-rw-r--r-- | src/plugins/irc/irc-input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-input.c b/src/plugins/irc/irc-input.c index 72820cc8a..a3f87445c 100644 --- a/src/plugins/irc/irc-input.c +++ b/src/plugins/irc/irc-input.c @@ -64,6 +64,7 @@ void irc_input_user_message_display (struct t_irc_server *server, time_t date, + int date_usec, const char *target, const char *address, const char *command, @@ -86,6 +87,7 @@ irc_input_user_message_display (struct t_irc_server *server, memset (&ctxt, 0, sizeof (ctxt)); ctxt.server = server; ctxt.date = date; + ctxt.date_usec = date_usec; ctxt.address = (char *)address; ctxt.command = (char *)command; @@ -317,6 +319,7 @@ irc_input_send_user_message (struct t_gui_buffer *buffer, int flags, irc_input_user_message_display ( ptr_server, 0, /* date */ + 0, /* date_usec */ ptr_channel->name, NULL, /* address */ "privmsg", |