1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 03:03:12 +02:00

irc: add support of capability "echo-message" (closes #139)

This commit is contained in:
Sébastien Helleu
2023-05-23 21:31:05 +02:00
parent 8f5a3cb639
commit 64c3f3f0cd
27 changed files with 270 additions and 109 deletions
+4
View File
@@ -3497,6 +3497,10 @@ IRC_PROTOCOL_CALLBACK(tagmsg)
if (!tags)
return WEECHAT_RC_OK;
/* ignore if coming from self nick (if echo-message is enabled) */
if (irc_server_strcasecmp (server, server->nick, nick) == 0)
return WEECHAT_RC_OK;
ptr_channel = NULL;
if (irc_channel_is_channel (server, params[0]))
ptr_channel = irc_channel_search (server, params[0]);