# HG changeset patch # User Charly COSTE # Date 1267973743 -3600 # Node ID 3da85bf56bdf057659e32ffae37d2c5ca224d395 # Parent 1439d3274e6a7469a99aa982593acb6a801e562d (irclib) minor fix, only show the irc_id once in the debug log Signed-off-by: Charly COSTE diff -r 1439d3274e6a -r 3da85bf56bdf irclib.py --- a/irclib.py Sun Mar 07 16:18:51 2010 +0100 +++ b/irclib.py Sun Mar 07 15:55:43 2010 +0100 @@ -769,9 +769,10 @@ command = "umode" if command == "join": - self.irc_id = prefix - if DEBUG: - print "irc_id: %s" % (prefix) + if self.irc_id != prefix: + self.irc_id = prefix + if DEBUG: + print "irc_id: %s" % (prefix) if DEBUG: print "command: %s, source: %s, target: %s, arguments: %s" % (