607 ) |
607 ) |
608 if self.__buffer.endswith("\r\n"): |
608 if self.__buffer.endswith("\r\n"): |
609 for line in self.__buffer.splitlines(): |
609 for line in self.__buffer.splitlines(): |
610 line = line.strip() |
610 line = line.strip() |
611 if line: |
611 if line: |
612 logging.debug("<IRC> %s", line) |
612 logging.getLogger(__name__).debug("<IRC> %s", line) |
613 handled = False |
613 handled = False |
614 # step 1: give channels a chance to handle the message |
614 # step 1: give channels a chance to handle the message |
615 for channel in self.__channelList: |
615 for channel in self.__channelList: |
616 handled = channel.handleMessage(line) |
616 handled = channel.handleMessage(line) |
617 if handled: |
617 if handled: |