aboutsummaryrefslogtreecommitdiff
path: root/server_conn.go
diff options
context:
space:
mode:
Diffstat (limited to 'server_conn.go')
-rw-r--r--server_conn.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/server_conn.go b/server_conn.go
index f451cd5..34ab129 100644
--- a/server_conn.go
+++ b/server_conn.go
@@ -46,6 +46,11 @@ type ServerConn struct {
huds map[mt.HUDID]mt.HUDType
playerList map[string]struct{}
+
+ modChanJoinChs map[string]map[chan bool]struct{}
+ modChanJoinChMu sync.Mutex
+ modChanLeaveChs map[string]map[chan bool]struct{}
+ modChanLeaveChMu sync.Mutex
}
func (sc *ServerConn) client() *ClientConn {