diff options
Diffstat (limited to 'bug/op_add_comment.go')
-rw-r--r-- | bug/op_add_comment.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bug/op_add_comment.go b/bug/op_add_comment.go index c19b9593..2d6fb21a 100644 --- a/bug/op_add_comment.go +++ b/bug/op_add_comment.go @@ -58,10 +58,6 @@ func (op *AddCommentOperation) Validate() error { return err } - if text.Empty(op.Message) { - return fmt.Errorf("message is empty") - } - if !text.Safe(op.Message) { return fmt.Errorf("message is not fully printable") } |