diff --git a/src/asyncoreDrivers.py b/src/asyncoreDrivers.py index a6cdfbbc5..85d8dc41e 100644 --- a/src/asyncoreDrivers.py +++ b/src/asyncoreDrivers.py @@ -53,7 +53,7 @@ class AsyncoreRunnerDriver(drivers.IrcDriver): #log.debug(repr(asyncore.socket_map)) try: timeout = conf.supybot.drivers.poll() - if len(asyncore.socket_map.keys()) < 1: + if not asyncore.socket_map: # FIXME: asyncore should take care of this... but it doesn't? time.sleep(timeout) else: