From dc082e7dc5d9333b9f9c43130fc20eb20b40db44 Mon Sep 17 00:00:00 2001 From: shy Date: Mon, 29 Jan 2024 20:48:24 +0800 Subject: [PATCH] add some --- base/web/broad.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/web/broad.go b/base/web/broad.go index 256be213..68a52c99 100644 --- a/base/web/broad.go +++ b/base/web/broad.go @@ -57,6 +57,6 @@ func init() { SERVE: {Name: "serve port=9020 host", Hand: func(m *ice.Message, arg ...string) { gdb.Go(m, _broad_serve) }}, OPEN: {Hand: func(m *ice.Message, arg ...string) { m.ProcessOpen(Domain(m.Option(tcp.HOST), m.Option(tcp.PORT))) }}, tcp.SEND: {Hand: func(m *ice.Message, arg ...string) { _broad_send(m, "", "", "", "", arg...) }}, - }, mdb.HashAction(mdb.SHORT, "host,port", mdb.FIELD, "time,hash,type,name,host,port", mdb.ACTION, OPEN), mdb.ClearOnExitHashAction())}, + }, gdb.EventsAction(SERVE_START), mdb.HashAction(mdb.SHORT, "host,port", mdb.FIELD, "time,hash,type,name,host,port", mdb.ACTION, OPEN), mdb.ClearOnExitHashAction())}, }) }