Skip to content

Commit

Permalink
Fix for Stop Forum Spam Module when checking new user email registrat…
Browse files Browse the repository at this point in the history
…ions

Fix for #733
  • Loading branch information
eSilverStrike committed Mar 28, 2018
1 parent bcc962a commit bc5be83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/spamx/functions.inc
Expand Up @@ -696,7 +696,7 @@ function plugin_itemPreSave_spamx($type, $username)
if ($type == 'registration') {
require_once $_CONF['path'] . '/plugins/spamx/SFS.Misc.class.php';
$EX = new SFS;
$res = $EX->execute(Geeklog\Input::post('email'), Geeklog\Input::server('REMOTE_ADDR'));
$res = $EX->execute(null, null, Geeklog\Akismet::COMMENT_TYPE_COMMENT, null, Geeklog\Input::post('email'));
if ($res > 0) {
return $LANG_SX00['invalid_email_or_ip'];
}
Expand Down

0 comments on commit bc5be83

Please sign in to comment.