From da3ceafe42245e022400a1fe48ab7ad874c8acf7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 17 May 2013 10:05:03 -0400 Subject: [PATCH] Polishing irk. --- irk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/irk b/irk index 4ca4a84..a8a2f42 100755 --- a/irk +++ b/irk @@ -1,6 +1,5 @@ #!/usr/bin/env python -# Illustrates how to test irkerd. Requires that the irkerd source -# be in the current directory. +# Illustrates how to test irkerd. # # First argument must be a channel URL. If it does not begin with "irc", # the base URL for freenode is prepended. @@ -25,7 +24,7 @@ def send(target, message): except socket.error, e: sys.stderr.write("irkerd: write to server failed: %r\n" % e) -spawn = None +# Spawn an irkerd instance if none is running. try: # irkerd might already be running s = socket.create_connection(("localhost", 6659)) -- 2.26.2