Changeset 30719 for extensions/stop_spammers
- Timestamp:
- Dec 10, 2014, 1:11:09 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stop_spammers/main.inc.php
r27641 r30719 63 63 64 64 add_event_handler('user_comment_check', 'stop_spammers_checks', EVENT_HANDLER_PRIORITY_NEUTRAL, 2); 65 add_event_handler('contact_form_check', 'stop_spammers_checks', EVENT_HANDLER_PRIORITY_NEUTRAL, 2); 65 66 function stop_spammers_checks($action, $comment) 66 67 { 68 global $page; 69 67 70 if (!stop_spammers_check_stopforumspam()) 68 71 { 72 $page['errors'][] = l10n('IP address rejected'); 69 73 return 'reject'; 70 74 }
Note: See TracChangeset
for help on using the changeset viewer.