upstream: convert ISUPPORT tokens to upper-case
This commit is contained in:
parent
2dfb31ac0b
commit
437f7a74f0
@ -929,6 +929,7 @@ func (uc *upstreamConn) handleMessage(ctx context.Context, msg *irc.Message) err
|
|||||||
value = token[i+1:]
|
value = token[i+1:]
|
||||||
hasValue = true
|
hasValue = true
|
||||||
}
|
}
|
||||||
|
parameter = strings.ToUpper(parameter)
|
||||||
|
|
||||||
if hasValue {
|
if hasValue {
|
||||||
uc.isupport[parameter] = &value
|
uc.isupport[parameter] = &value
|
||||||
|
Loading…
Reference in New Issue
Block a user