summaryrefslogtreecommitdiff
path: root/irc/states.go
diff options
context:
space:
mode:
authorHubert Hirtz <hubert@hirtzfr.eu>2020-08-17 14:00:05 +0200
committerHubert Hirtz <hubert@hirtzfr.eu>2020-08-17 14:00:05 +0200
commitba679ce1aa19dafb71bee521717b047478f05782 (patch)
tree97a7ab7bf3d9e43041391a7e8849bb93b3876699 /irc/states.go
parentirc: Also update casefolded nickname on ERR_ERRONEOUSNICKNAME (diff)
irc: Handle CAP NEW/DEL/NAK before registration
Diffstat (limited to 'irc/states.go')
-rw-r--r--irc/states.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/irc/states.go b/irc/states.go
index 99ad7a7..31d8929 100644
--- a/irc/states.go
+++ b/irc/states.go
@@ -471,6 +471,8 @@ func (s *Session) handleStart(msg Message) (err error) {
}
}
}
+ default:
+ s.handle(msg)
}
case errNicknameinuse:
s.nick = s.nick + "_"