From 0578751cc9820fcc028d8761e2ba8926dbcfbb05 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 9 Mar 2011 23:35:47 -0800 Subject: [PATCH] allowed_email matching $host instead of $domain --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot.php b/boot.php index 7dd188ee71..4c3a923dce 100644 --- a/boot.php +++ b/boot.php @@ -1825,7 +1825,7 @@ function allowed_email($email) { if(count($allowed)) { foreach($allowed as $a) { $pat = strtolower(trim($a)); - if(($fnmatch && fnmatch($pat,$host)) || ($pat == $host)) { + if(($fnmatch && fnmatch($pat,$domain)) || ($pat == $domain)) { $found = true; break; }