Fixed Autoidentify (note that it's set on a per-handle basis)
This commit is contained in:
parent
7fe3c417df
commit
0d4edc4e57
1 changed files with 1 additions and 1 deletions
|
@ -475,7 +475,7 @@ class userProfile(object):
|
||||||
def saveNickServPass(self):
|
def saveNickServPass(self):
|
||||||
# remove profiles with no passwords
|
# remove profiles with no passwords
|
||||||
for h,t in self.passwd.items():
|
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]
|
del self.passwd[h]
|
||||||
try:
|
try:
|
||||||
jsonoutput = json.dumps(self.passwd, indent=4)
|
jsonoutput = json.dumps(self.passwd, indent=4)
|
||||||
|
|
Loading…
Reference in a new issue