comparison irclib.py @ 223:3da85bf56bdf

(irclib) minor fix, only show the irc_id once in the debug log Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Sun, 07 Mar 2010 15:55:43 +0100
parents 1439d3274e6a
children 8e6a0b60eed1
comparison
equal deleted inserted replaced
222:1439d3274e6a 223:3da85bf56bdf
767 if command == "mode": 767 if command == "mode":
768 if not is_channel(target): 768 if not is_channel(target):
769 command = "umode" 769 command = "umode"
770 770
771 if command == "join": 771 if command == "join":
772 self.irc_id = prefix 772 if self.irc_id != prefix:
773 if DEBUG: 773 self.irc_id = prefix
774 print "irc_id: %s" % (prefix) 774 if DEBUG:
775 print "irc_id: %s" % (prefix)
775 776
776 if DEBUG: 777 if DEBUG:
777 print "command: %s, source: %s, target: %s, arguments: %s" % ( 778 print "command: %s, source: %s, target: %s, arguments: %s" % (
778 command, prefix, target, arguments) 779 command, prefix, target, arguments)
779 780