Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
policyd
policyd
Commits
57b06569
Commit
57b06569
authored
Mar 26, 2011
by
Nigel Kukard
Browse files
Small code cleanup
parent
3109d122
Changes
1
Hide whitespace changes
Inline
Side-by-side
cbp/policies.pm
View file @
57b06569
...
...
@@ -467,10 +467,11 @@ sub emailAddressMatches
{
my
(
$email
,
$template
)
=
@_
;
my
$match
=
0
;
# Sender may be null
return
$match
if
(
$email
eq
"");
# Sender may be blank, in the case of <>
return
0
if
(
$email
eq
"");
my
$match
=
0
;
# Strip email addy
my
(
$email_user
,
$email_domain
)
=
(
$email
=~
/^(\S+)@(\S+)$/
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment