From 1d3658a4a0d615ff30eacf8d037d8282d18844c6 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Fri, 21 Oct 2022 11:15:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8E=A8=E9=80=81=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/modulebase.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/modulebase.go b/modules/modulebase.go index 9e7d05596..8810de7f5 100644 --- a/modules/modulebase.go +++ b/modules/modulebase.go @@ -148,7 +148,7 @@ func (this *ModuleBase) SendMsgToUser(mainType, subType string, msg proto.Messag //向多个用户发送消息 func (this *ModuleBase) SendMsgToUsers(mainType, subType string, msg proto.Message, uids ...string) (err error) { var ( - users map[string]*pb.CacheUser + users map[string]*pb.CacheUser = make(map[string]*pb.CacheUser) gateways map[string]map[string][]string = make(map[string]map[string][]string) cluster map[string][]string = make(map[string][]string) gateway []string