From 15da80978d72a0867c4903cea2eef057f4758504 Mon Sep 17 00:00:00 2001 From: moneromooo Date: Thu, 25 Dec 2014 20:22:29 +0000 Subject: [PATCH] Clear user lists when (re)connecting Also remove a debug log parsing user lists --- tipbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tipbot.py b/tipbot.py index 13a4982..ddd1448 100644 --- a/tipbot.py +++ b/tipbot.py @@ -774,6 +774,7 @@ while True: last_ping_time = time.time() if data.find ( 'Welcome to the freenode Internet Relay Chat Network' ) != -1: + userstable = dict() SendTo("nickserv", "IDENTIFY %s" % GetPassword()) Join(irc_homechan) #ScanWho(None,[irc_homechan]) @@ -866,7 +867,6 @@ while True: elif action == '353': try: - log_log("parts: %s" % str(parts)) who_chan = parts[4] who_chan_users = cparts[2].split(" ") for who_chan_user in who_chan_users: