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:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user