From bc5be83aed31f9025d86b7d0353e0656dad412a5 Mon Sep 17 00:00:00 2001 From: Tom Homer Date: Wed, 28 Mar 2018 13:12:19 -0400 Subject: [PATCH] Fix for Stop Forum Spam Module when checking new user email registrations Fix for #733 --- plugins/spamx/functions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/spamx/functions.inc b/plugins/spamx/functions.inc index e9c04b69b..d374be313 100644 --- a/plugins/spamx/functions.inc +++ b/plugins/spamx/functions.inc @@ -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']; }