X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fname.pl;h=6f76ea60eec7258be7df277fb92cf5e4a1d9071d;hb=ebbe325acb6e18437ae01cb1b32e615c83e24641;hp=e966837d9f3324dd23a4b84d1a92032198d3b7d9;hpb=64b4171276c84a8df58776608dd9f568adef27b2;p=spider.git diff --git a/cmd/set/name.pl b/cmd/set/name.pl index e966837d..6f76ea60 100644 --- a/cmd/set/name.pl +++ b/cmd/set/name.pl @@ -13,6 +13,7 @@ my $user; # remove leading and trailing spaces $line =~ s/^\s+//; $line =~ s/\s+$//; +$line =~ s/[{}]//g; # no braces allowed return (1, $self->msg('namee1')) if !$line;