3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-28 05:29:25 +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. 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. # Increment until the SID we have doesn't already exist.
self.increment() self.increment()
sid = ''.join(self.output) sid = ''.join(self.output)