diff options
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/irc/irc.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index b4429956..8ed99eb4 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -164,6 +164,10 @@ func (b *Birc) handlePrivMsg(event *irc.Event) { if event.Arguments[0] == b.Nick { return } + // don't forward message from ourself + if event.Nick == b.Nick { + return + } flog.Debugf("handlePrivMsg() %s %s %#v", event.Nick, event.Message(), event) msg := "" if event.Code == "CTCP_ACTION" { |