Changeset 27641
- Timestamp:
- Mar 10, 2014, 10:02:46 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stop_spammers/main.inc.php
r26522 r27641 75 75 function stop_spammers_check_stopforumspam() 76 76 { 77 global $conf; 78 79 if (!isset($conf['stop_spammers_sfs_threshold'])) 80 { 81 $conf['stop_spammers_sfs_threshold'] = 50; 82 } 83 77 84 $ip = $_SERVER['REMOTE_ADDR']; 78 85 … … 106 113 if (isset($result['ip']['confidence'])) 107 114 { 108 if ($result['ip']['confidence'] > 50)115 if ($result['ip']['confidence'] > $conf['stop_spammers_sfs_threshold']) 109 116 { 110 117 single_insert(
Note: See TracChangeset
for help on using the changeset viewer.