projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix sh/c/n
[spider.git]
/
cmd
/
set
/
name.pl
diff --git
a/cmd/set/name.pl
b/cmd/set/name.pl
index e966837d9f3324dd23a4b84d1a92032198d3b7d9..6f76ea60eec7258be7df277fb92cf5e4a1d9071d 100644
(file)
--- 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;