forked from cwtch.im/cwtch
Quality Fixup
This commit is contained in:
parent
0997406e51
commit
ca63205934
|
@ -432,7 +432,7 @@ func (cr *contactRetry) handleEvent(id string, state connections.ConnectionState
|
|||
|
||||
// reject events that contain invalid hostnames...we cannot connect to them
|
||||
// and they could result in spurious connection attempts...
|
||||
if tor.IsValidHostname(id) == false {
|
||||
if !tor.IsValidHostname(id) {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue