if not joined and line == ":"+nick+" MODE "+nick+" :+i": for channel in channels: irc.join(channel) joined = True if not joined: continue tmp = irc.is_message(line) if not ignore and tmp is not None: process_message(tmp[2], tmp[1], tmp[0]) flood_check(tmp[1], tmp[0], tmp[2]) continue tmp = irc.is_quit(line) if tmp is not None: process_quit(tmp[0], tmp[1]) continue tmp = irc.is_kick(line) if tmp is not None: process_kick(tmp[0], tmp[1], tmp[2], tmp[3]) continue tmp = irc.is_part(line) if tmp is not None: process_part(tmp[0], tmp[1]) tmp = irc.is_mode(line) if tmp is not None: