3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 21:19:31 +01:00

ts6_common: continue using self.irc in TS6SIDGenerator

This commit is contained in:
James Lu 2017-06-29 21:51:02 -07:00
parent 77357b765e
commit c9c01def8c

View File

@ -79,7 +79,7 @@ class TS6SIDGenerator():
"""
Returns the next unused TS6 SID for the server.
"""
while ''.join(self.output) in self.servers:
while ''.join(self.output) in self.irc.servers:
# Increment until the SID we have doesn't already exist.
self.increment()
sid = ''.join(self.output)