Correct a typo: AntiSpamNotFriends should be AntiSpamNotFriend
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user