minor typo

This commit is contained in:
Germs2004
2020-03-03 23:43:15 -05:00
committed by drakkan
parent 016abda6d7
commit 6ad9c5ae64

View File

@@ -428,13 +428,13 @@ func (u *User) GetBandwidthAsString() string {
if u.DownloadBandwidth > 0 { if u.DownloadBandwidth > 0 {
result += utils.ByteCountSI(u.DownloadBandwidth*1000) + "/s." result += utils.ByteCountSI(u.DownloadBandwidth*1000) + "/s."
} else { } else {
result += "ulimited." result += "unlimited."
} }
result += " Upload: " result += " Upload: "
if u.UploadBandwidth > 0 { if u.UploadBandwidth > 0 {
result += utils.ByteCountSI(u.UploadBandwidth*1000) + "/s." result += utils.ByteCountSI(u.UploadBandwidth*1000) + "/s."
} else { } else {
result += "ulimited." result += "unlimited."
} }
return result return result
} }