diff options
Diffstat (limited to 'src/fe-common/irc/dcc/fe-dcc-chat-messages.c')
-rw-r--r-- | src/fe-common/irc/dcc/fe-dcc-chat-messages.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/fe-common/irc/dcc/fe-dcc-chat-messages.c b/src/fe-common/irc/dcc/fe-dcc-chat-messages.c index 45791f56..3a45a36b 100644 --- a/src/fe-common/irc/dcc/fe-dcc-chat-messages.c +++ b/src/fe-common/irc/dcc/fe-dcc-chat-messages.c @@ -96,6 +96,10 @@ static void sig_message_dcc(CHAT_DCC_REC *dcc, const char *msg) level | MSGLEVEL_NO_ACT)) level |= MSGLEVEL_NO_ACT; + if (ignore_check(SERVER(dcc->server), tag, dcc->addrstr, NULL, msg, + level | MSGLEVEL_HIDDEN)) + level |= MSGLEVEL_HIDDEN; + format_create_dest_tag(&dest, dcc->server, dcc->servertag, tag, level, NULL); @@ -118,6 +122,10 @@ static void sig_message_dcc_action(CHAT_DCC_REC *dcc, const char *msg) level | MSGLEVEL_NO_ACT)) level |= MSGLEVEL_NO_ACT; + if (ignore_check(SERVER(dcc->server), tag, dcc->addrstr, NULL, msg, + level | MSGLEVEL_HIDDEN)) + level |= MSGLEVEL_HIDDEN; + format_create_dest_tag(&dest, dcc->server, dcc->servertag, tag, level, NULL); @@ -139,6 +147,10 @@ static void sig_message_dcc_ctcp(CHAT_DCC_REC *dcc, const char *cmd, level | MSGLEVEL_NO_ACT)) level |= MSGLEVEL_NO_ACT; + if (ignore_check(SERVER(dcc->server), tag, dcc->addrstr, NULL, cmd, + level | MSGLEVEL_HIDDEN)) + level |= MSGLEVEL_HIDDEN; + format_create_dest_tag(&dest, dcc->server, dcc->servertag, tag, level, NULL); |