X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Femail.pl;h=ed68420eaed123b858d7075416c5c32571275d68;hb=79f4593964c44fb39faf9d070a418125e90e1333;hp=8748df1f1bed75b21e9e56696ce3bdb01ff5915b;hpb=75bf122b6d6d233a83a19be9842b21d546519023;p=spider.git diff --git a/cmd/set/email.pl b/cmd/set/email.pl index 8748df1f..ed68420e 100644 --- a/cmd/set/email.pl +++ b/cmd/set/email.pl @@ -13,6 +13,7 @@ my $user; # remove leading and trailing spaces $line =~ s/^\s+//; $line =~ s/\s+$//; +$line =~ s/[{}]//g; # remove any braces return (1, $self->msg('emaile1')) if !$line;