From 456671615b9cf932e0b8bdef9bafe1656b52d3fa Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Wed, 19 Dec 2012 20:22:48 -0600 Subject: [PATCH] DrBotIRC: document irclib.IRC.connections this is before i stupidly remove it again --- DrBotIRC.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DrBotIRC.py b/DrBotIRC.py index 8fef15b..3064ff6 100644 --- a/DrBotIRC.py +++ b/DrBotIRC.py @@ -250,6 +250,9 @@ class DrBotIRC(irclib.IRC): except NoOptionError: pass self.server = DrBotServerConnection(self, user, nick) + + # though we only handle one connection, the underlying library supports + # multiple. append the new one though we intend no others self.connections.append(self.server) return self.server