chiark / gitweb /
svc/connect.in (cmd_kick): Call the right function.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 2 May 2015 16:05:20 +0000 (17:05 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 8 May 2015 18:26:46 +0000 (19:26 +0100)
svc/connect.in

index 8abe108..0471396 100644 (file)
@@ -716,7 +716,7 @@ def cmd_kick(name):
     raise T.TripeJobError('peer-not-adopted', name)
   try: peer = Peer(name)
   except KeyError: raise T.TripeJobError('unknown-peer', name)
-  T.spawn(connect, peer)
+  T.spawn(run_connect, peer, peer.get('connect'))
 
 def cmd_adopted():
   """