Fix for mails in non-onlinebots;
Added spamfilters for 2 more GoldSellers.
This commit is contained in:
@@ -43,7 +43,7 @@ class MailController:
|
||||
data = self.db.query(
|
||||
"SELECT a.char_id from mail m "
|
||||
"left join account a ON a.main = m.recipient "
|
||||
"WHERE `read` = 0 and (a.disabled = 0 and a.member=1) "
|
||||
"WHERE `read` = 0 and (a.disabled = 0 and a.member!=-1) "
|
||||
"group by a.char_id")
|
||||
for row in data:
|
||||
self.buddy_service.add_buddy(row.char_id, "mail")
|
||||
|
||||
Reference in New Issue
Block a user