chiark / gitweb /
svc/connect.in: Add a method for finding a named PingPeer.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 8 Sep 2017 08:06:47 +0000 (09:06 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 14 Jun 2018 09:34:25 +0000 (10:34 +0100)
commitfb52c291465867352b2d22ea64e411ed2e7356a6
treea1d4548ba6fad60250684ef585f6115e7b715371
parent47912108f4e8eda5ae67372925f3b86e46798f6c
svc/connect.in: Add a method for finding a named PingPeer.

And use it in `cmd_kick' to avoid the need for a linear search through
the peers list.
svc/connect.in