From 0d4edc4e577e4c530a713d905f33ee179642117d Mon Sep 17 00:00:00 2001 From: karxi Date: Mon, 12 Dec 2016 15:11:50 -0500 Subject: [PATCH] Fixed Autoidentify (note that it's set on a per-handle basis) --- profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile.py b/profile.py index db0d98a..d352a22 100644 --- a/profile.py +++ b/profile.py @@ -475,7 +475,7 @@ class userProfile(object): def saveNickServPass(self): # remove profiles with no passwords for h,t in self.passwd.items(): - if "auto" not in t or "pw" not in t or t["pw"] == "": + if "auto" not in t and ("pw" not in t or t["pw"] == ""): del self.passwd[h] try: jsonoutput = json.dumps(self.passwd, indent=4)