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:
parent
3f67bee51e
commit
897119cbca
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user