summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-command.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-08-18 23:57:35 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-08-18 23:57:35 +0200
commit64cb3e6a6339130435ba3d59d61cf5e04123d411 (patch)
tree40047892f5094ffa1078cb6a58ba44d133619c24 /src/plugins/irc/irc-command.c
parent1fe1e1a1e87d34b11f0594506b843f027fb4ef3f (diff)
downloadweechat-64cb3e6a6339130435ba3d59d61cf5e04123d411.zip
irc: fix wrong time displayed for CTCP messages received from self nick (closes #2000)
Diffstat (limited to 'src/plugins/irc/irc-command.c')
-rw-r--r--src/plugins/irc/irc-command.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index e6d12ad77..1b0785ab4 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -386,6 +386,7 @@ irc_command_me_channel_message (struct t_irc_server *server,
{
irc_input_user_message_display (
server,
+ 0, /* date */
channel_name,
NULL, /* address */
"privmsg",
@@ -1971,6 +1972,7 @@ IRC_COMMAND_CALLBACK(ctcp)
{
irc_input_user_message_display (
ptr_server,
+ 0, /* date */
ctcp_target,
NULL, /* address */
"privmsg",
@@ -3846,6 +3848,7 @@ IRC_COMMAND_CALLBACK(msg)
{
irc_input_user_message_display (
ptr_server,
+ 0, /* date */
ptr_channel->name,
NULL, /* address */
"privmsg",
@@ -3866,6 +3869,7 @@ IRC_COMMAND_CALLBACK(msg)
{
irc_input_user_message_display (
ptr_server,
+ 0, /* date */
targets[i],
NULL, /* address */
"privmsg",
@@ -4021,6 +4025,7 @@ IRC_COMMAND_CALLBACK(notice)
ptr_message = (const char *)weechat_arraylist_get (list_messages, i);
irc_input_user_message_display (
ptr_server,
+ 0, /* date */
argv[arg_target],
NULL, /* address */
"notice",
@@ -4550,6 +4555,7 @@ IRC_COMMAND_CALLBACK(query)
{
irc_input_user_message_display (
ptr_server,
+ 0, /* date */
ptr_channel->name,
NULL, /* address */
"privmsg",