change type order (cosmetic)
This commit is contained in:
parent
f22bd5eacc
commit
ebcab0fd74
|
@ -6,6 +6,12 @@ import ../../message
|
|||
# connect from our LAN
|
||||
|
||||
type
|
||||
Client = object
|
||||
sock: AsyncSocket
|
||||
ip: IpAddress
|
||||
ports: array[3, Port]
|
||||
|
||||
# Requests
|
||||
Register = object
|
||||
peerId: string
|
||||
ip: IpAddress
|
||||
|
@ -19,11 +25,6 @@ type
|
|||
recipient: string
|
||||
data: string
|
||||
|
||||
Client = object
|
||||
sock: AsyncSocket
|
||||
ip: IpAddress
|
||||
ports: array[3, Port]
|
||||
|
||||
proc removeClient(clients: TableRef[string, Client], peerId: string) =
|
||||
if peerId.len > 0: clients.del(peerId)
|
||||
|
||||
|
|
Loading…
Reference in New Issue