Fix for mails in non-onlinebots;

Added spamfilters for 2 more GoldSellers.
This commit is contained in:
2022-01-02 18:37:22 +01:00
parent 6aec10fb56
commit 6d6bfbc678
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -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")