diff options
author | Himbeer <himbeer@disroot.org> | 2024-12-07 11:21:06 +0100 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2024-12-07 11:24:27 +0100 |
commit | aee7c77cb835299f7e0a96bc971a182619f91296 (patch) | |
tree | be362af900bf5a3954f1684c4b65233716b61685 /server_conn.go | |
parent | 162faad9f636263cc27413358af18de725db66d9 (diff) |
Implement modchannel plugin API between proxy and servers (per-client)
Diffstat (limited to 'server_conn.go')
-rw-r--r-- | server_conn.go | 5 |
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 { |