This is not pretty

This commit is contained in:
2026-09-08 15:52:49 +01:00
parent 6070620713
commit 78ec6a1e86
+6 -1
View File
@@ -280,7 +280,12 @@ func (i *IBT) SessionStateInvalid() bool {
return true
}
bitfield, err := strconv.ParseInt(val.Value.(string), 0, 64)
value, ok := val.Value.(string)
if !ok {
return true
}
bitfield, err := strconv.ParseInt(value, 0, 64)
if err != nil {
return true
}