fix compilation issues for client revamp
This commit is contained in:
parent
245468dfb8
commit
f66f8af0cd
@ -2,12 +2,10 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func getLockedClient(int64 id, bool createMissing) (*ChirpClient, bool) {
|
func getLockedClient(id int64, createMissing bool) (*ChirpClient, bool) {
|
||||||
muxClients.Lock()
|
muxClients.Lock()
|
||||||
if c, ok := clients[id]; ok {
|
if c, ok := clients[id]; ok {
|
||||||
c.Mux.Lock()
|
c.Mux.Lock()
|
||||||
|
Loading…
Reference in New Issue
Block a user