diff options
author | Wim <wim@42.be> | 2016-10-29 18:01:16 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2016-10-29 18:01:16 +0200 |
commit | 4a336a6bbae78ae47ecea1708b784572b7a10ae5 (patch) | |
tree | a8356e494d574d3294c62bf612e47f14ed47b0ea /bridge/irc/irc.go | |
parent | 60223d7f636ddbbe4d3d03403003a8a48d5b82a9 (diff) | |
download | matterbridge-msglm-4a336a6bbae78ae47ecea1708b784572b7a10ae5.tar.gz matterbridge-msglm-4a336a6bbae78ae47ecea1708b784572b7a10ae5.tar.bz2 matterbridge-msglm-4a336a6bbae78ae47ecea1708b784572b7a10ae5.zip |
Forward channel notices too (irc)
Diffstat (limited to 'bridge/irc/irc.go')
-rw-r--r-- | bridge/irc/irc.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index 8ed99eb4..ea040af5 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -148,6 +148,8 @@ func (b *Birc) handleNewConnection(event *irc.Event) { func (b *Birc) handleNotice(event *irc.Event) { if strings.Contains(event.Message(), "This nickname is registered") && event.Nick == b.Config.NickServNick { b.i.Privmsg(b.Config.NickServNick, "IDENTIFY "+b.Config.NickServPassword) + } else { + b.handlePrivMsg(event) } } |