Added a sleep so we don\'t spin if we're the only driver.

This commit is contained in:
Jeremy Fincher 2003-09-01 08:13:52 +00:00
parent 38d1896da3
commit 35aff3f642

View File

@ -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: