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:
parent
fdad7c9c16
commit
5a68dc1bc5
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user