From a750ffd42b567d0ae6ca7f59c2892fe0868d7489 Mon Sep 17 00:00:00 2001
From: "Eric S. Raymond" <esr@thyrsus.com>
Date: Sun, 26 Aug 2012 10:01:08 -0400
Subject: [PATCH] Cosmetic fix.

---
 irker.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/irker.py b/irker.py
index 565fb4c..fea8a14 100755
--- a/irker.py
+++ b/irker.py
@@ -12,6 +12,7 @@ join/leave traffic.
 Requires Python 2.6.
 
 TO-DO: some servers have a limit of 20 channels per server connection.
+TO-DO: Register the port?
 """
 import os, sys, json, irclib, exceptions, getopt, urlparse
 import threading, Queue, SocketServer
@@ -54,7 +55,7 @@ class Session():
             self.queue.task_done()
     def name(self):
         "Generate a unique name for this session."
-        return "irker" + str(Session.count)
+        return "irker%03d" % Session.count
     def await(self):
         "Block until processing of all queued messages is done."
         self.queue.join()
-- 
GitLab