mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-12 11:31:03 +01:00
Added a sleep so we don\'t spin if we're the only driver.
This commit is contained in:
parent
38d1896da3
commit
35aff3f642
@ -78,6 +78,7 @@ class SocketDriver(drivers.IrcDriver):
|
||||
def run(self):
|
||||
#debug.methodNamePrintf(self, 'run')
|
||||
if not self.connected:
|
||||
time.sleep(conf.poll) # Otherwise we might spin.
|
||||
return
|
||||
self._sendIfMsgs()
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user