From 897119cbcae9ebd84587be857b03d5841d63d4b3 Mon Sep 17 00:00:00 2001 From: wdvxdr Date: Sun, 19 Dec 2021 15:48:07 +0800 Subject: [PATCH] ci: make lint happy --- coolq/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coolq/api.go b/coolq/api.go index 7057ed1..82cdba8 100644 --- a/coolq/api.go +++ b/coolq/api.go @@ -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