3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-28 13:42:37 +01:00

Irc: don't call initVars() on IRC object initialization

This is already done in connect(), so it isn't really necessary to populate these variables when first connect hasn't happened yet.
This commit is contained in:
James Lu 2016-01-23 11:17:51 -08:00
parent fdad7c9c16
commit 5a68dc1bc5

View File

@ -50,8 +50,6 @@ class Irc():
self.connected = threading.Event()
self.aborted = threading.Event()
self.initVars()
if world.testing:
# HACK: Don't thread if we're running tests.
self.connect()