You are here

function spam_hash_load in Spam 6

Wildcard loader function.

File

./spam.module, line 571
Spam module, v3 Copyright(c) 2006-2008 Jeremy Andrews <jeremy@tag1consulting.com>. All rights reserved.

Code

function spam_hash_load($hash1, $hash2) {
  return $hash1 == md5($_SESSION['spam_content']) && ($hash2 = _spam_sign($_SESSION['spam_content']));
}