# 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 --git a/irclib.py b/irclib.py --- a/irclib.py +++ b/irclib.py @@ -769,9 +769,10 @@ class ServerConnection(Connection): 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" % (