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

ci: make lint happy

This commit is contained in:
wdvxdr 2021-12-19 15:48:07 +08:00
parent 3f67bee51e
commit 897119cbca
No known key found for this signature in database
GPG Key ID: 703F8C071DE7A1B6

View File

@ -1898,7 +1898,7 @@ func (bot *CQBot) CQGetVersionInfo() global.MSG {
"version": base.Version,
"protocol": func() int {
switch client.SystemDeviceInfo.Protocol {
case client.IPad:
case client.Unset, client.IPad:
return 0
case client.AndroidPhone:
return 1