diff options
Diffstat (limited to 'gateway/gateway.go')
-rw-r--r-- | gateway/gateway.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gateway/gateway.go b/gateway/gateway.go index c1440c05..1508ced2 100644 --- a/gateway/gateway.go +++ b/gateway/gateway.go @@ -430,6 +430,11 @@ func (gw *Gateway) SendMessage( } } + // Only send irc notices to irc + if msg.Event == config.EventNoticeIRC && dest.Protocol != "irc" { + return "", nil + } + // Too noisy to log like other events debugSendMessage := "" if msg.Event != config.EventUserTyping { |