Fix pingif preferences not being properly saved
This commit is contained in:
parent
16d541b1f1
commit
3f9f06613a
@ -438,7 +438,7 @@ class User(IRCContext):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
if not var.DISABLE_ACCOUNTS and temp.account:
|
if not var.DISABLE_ACCOUNTS and temp.account:
|
||||||
var.PING_IF_PREFS[temp.account] = value
|
var.PING_IF_PREFS_ACCS[temp.account] = value
|
||||||
db.set_pingif(value, temp.account, None)
|
db.set_pingif(value, temp.account, None)
|
||||||
with var.WARNING_LOCK:
|
with var.WARNING_LOCK:
|
||||||
if value not in var.PING_IF_NUMS_ACCS:
|
if value not in var.PING_IF_NUMS_ACCS:
|
||||||
|
Loading…
Reference in New Issue
Block a user