mirror of
https://github.com/statbate/special-pancake.git
synced 2026-08-11 03:12:42 +00:00
update
This commit is contained in:
parent
0bf88963c3
commit
216a8524a4
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ func mapRooms() {
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
case m := <-rooms.Add:
|
case m := <-rooms.Add:
|
||||||
data[m.room] = &Info{Server: m.Server, Proxy: m.Proxy, Start: m.Start, Last: m.Last, Online: m.Online, Income: m.Income, Dons: m.Dons, Tips: m.Tips, ch: m.ch}
|
data[m.room] = &Info{Server: m.Server, Proxy: m.Proxy, Rid: m.Rid, Start: m.Start, Last: m.Last, Online: m.Online, Income: m.Income, Dons: m.Dons, Tips: m.Tips, ch: m.ch}
|
||||||
|
|
||||||
case s := <-rooms.Json:
|
case s := <-rooms.Json:
|
||||||
j, err := json.Marshal(data)
|
j, err := json.Marshal(data)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue