1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 03:23:49 +08:00

Fix seflUpdate

This commit is contained in:
Ink-33 2020-11-17 00:26:51 +08:00
parent 28f1594539
commit f87b5c8215
No known key found for this signature in database
GPG Key ID: 5D8B1D036EFB0D2E

View File

@ -106,7 +106,7 @@ func main() {
switch arg[i] { switch arg[i] {
case "update": case "update":
if len(arg) > i+1 { if len(arg) > i+1 {
selfUpdate(arg[i+2]) selfUpdate(arg[i+1])
} else { } else {
selfUpdate("") selfUpdate("")
} }