Fix bot crashing on start if DENY_ACCOUNTS is not empty.

This commit is contained in:
Vgr E.Barry 2015-01-11 22:11:14 -05:00
parent 813dc38cbf
commit cbd3c60890

View File

@ -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: