summaryrefslogtreecommitdiffstats
path: root/bridge/irc
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/irc')
-rw-r--r--bridge/irc/irc.go2
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)
}
}