diff options
-rw-r--r-- | src/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.go b/src/config.go index 9751a18..72a604f 100644 --- a/src/config.go +++ b/src/config.go @@ -153,7 +153,7 @@ func ipcSetOperation(device *Device, socket *bufio.ReadWriter) *IPCError { return &IPCError{Code: ipcErrorInvalidValue} } device.mutex.RLock() - peer, _ := device.peers[pubKey] + peer, _ = device.peers[pubKey] device.mutex.RUnlock() if peer == nil { peer = device.NewPeer(pubKey) |