Fix bot crashing on start if DENY_ACCOUNTS is not empty.
This commit is contained in:
parent
813dc38cbf
commit
cbd3c60890
@ -805,7 +805,7 @@ def init_db():
|
||||
for row in c:
|
||||
if row[0] not in DENY_ACCOUNTS:
|
||||
DENY_ACCOUNTS[row[0]] = []
|
||||
DENY[row[0]].append(row[1])
|
||||
DENY_ACCOUNTS[row[0]].append(row[1])
|
||||
|
||||
c.execute('SELECT * FROM allowed')
|
||||
for row in c:
|
||||
|
Loading…
x
Reference in New Issue
Block a user