From 3789bc8dc7470338073ae8f4ca5be25eb8591e4a Mon Sep 17 00:00:00 2001 From: Eric Budd Date: Sat, 7 Mar 2020 17:50:37 -0500 Subject: [PATCH] Remove domain check --- iris.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iris.rb b/iris.rb index 2d4f510..2d0ba22 100755 --- a/iris.rb +++ b/iris.rb @@ -381,7 +381,7 @@ class Message @errors << 'Unvalidatable; could not parse username' if username.nil? @errors << 'Unvalidatable; username is empty' if username.empty? - user_regex = Regexp.new("(.*)@#{Config::HOSTNAME}$") + user_regex = Regexp.new("(.*)@.*$") author_match = user_regex.match(author) unless author_match && author_match[1] == username