DrBotIRC: document irclib.IRC.connections

this is before i stupidly remove it again
This commit is contained in:
Brian S. Stephan 2012-12-19 20:22:48 -06:00
parent 885076c1b8
commit 456671615b
1 changed files with 3 additions and 0 deletions

View File

@ -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