fix(irc): increase sleep pre join (#192)

This commit is contained in:
Ludvig Lundgren 2022-03-22 00:00:21 +01:00 committed by GitHub
parent 4e4e498cc3
commit 0b0a48e306
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -529,7 +529,7 @@ func (h *Handler) handleMode(msg ircmsg.Message) {
return
}
time.Sleep(2 * time.Second)
time.Sleep(10 * time.Second)
if h.network.NickServ.Password != "" && !strings.Contains(msg.Params[0], h.client.Nick) || !strings.Contains(msg.Params[1], "+r") {
log.Trace().Msgf("%v: MODE: Not correct permission yet: %v", h.network.Server, msg.Params)