Bug fixes #522
|
@ -1120,7 +1120,7 @@ class receiveDataThread(threading.Thread):
|
||||||
else: # We're using a whitelist
|
else: # We're using a whitelist
|
||||||
queryreturn = sqlQuery(
|
queryreturn = sqlQuery(
|
||||||
'''SELECT label FROM whitelist where address=? and enabled='1' ''',
|
'''SELECT label FROM whitelist where address=? and enabled='1' ''',
|
||||||
toAddress)
|
fromAddress)
|
||||||
if queryreturn == []:
|
if queryreturn == []:
|
||||||
print 'Message ignored because address not in whitelist.'
|
print 'Message ignored because address not in whitelist.'
|
||||||
blockMessage = True
|
blockMessage = True
|
||||||
|
|
Reference in New Issue
Block a user