upstream: convert ISUPPORT tokens to upper-case

This commit is contained in:
Simon Ser 2023-02-28 18:41:10 +01:00
parent 2dfb31ac0b
commit 437f7a74f0

View File

@ -929,6 +929,7 @@ func (uc *upstreamConn) handleMessage(ctx context.Context, msg *irc.Message) err
value = token[i+1:]
hasValue = true
}
parameter = strings.ToUpper(parameter)
if hasValue {
uc.isupport[parameter] = &value