Correct a typo: AntiSpamNotFriends should be AntiSpamNotFriend

This commit is contained in:
Inusaito Sayori
2013-08-05 14:34:07 -04:00
parent f194a884db
commit c5782d9b90
2 changed files with 3 additions and 3 deletions

View File

@@ -1308,7 +1308,7 @@ This should be as low as possible, but too low may break functionality</string>
<key>Value</key>
<integer>0</integer>
</map>
<key>AntiSpamNotFriends</key>
<key>AntiSpamNotFriend</key>
<map>
<key>Comment</key>
<string>When true, dialogs from friends will not be blocked unless the _NACL_Antispam is true.</string>

View File

@@ -1716,8 +1716,8 @@ bool is_spam_filtered(const EInstantMessage& dialog, bool is_friend, bool is_own
if (antispam_not_mine && is_owned_by_me)
return false;
static LLCachedControl<bool> antispam_not_friends(gSavedSettings,"AntiSpamNotFriends");
if (antispam_not_friends && is_friend)
static LLCachedControl<bool> antispam_not_friend(gSavedSettings,"AntiSpamNotFriend");
if (antispam_not_friend && is_friend)
return false;
// Last, definitely filter