mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-12 23:14:36 +01:00
softfail on paddedstring and login cleanup
This commit is contained in:
@@ -106,7 +106,7 @@ func PaddedString(x string, size uint, t bool) []byte {
|
||||
e := japanese.ShiftJIS.NewEncoder()
|
||||
xt, _, err := transform.String(e, x)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
return make([]byte, 0)
|
||||
}
|
||||
x = xt
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user