aboutsummaryrefslogtreecommitdiffstats
path: root/bug
diff options
context:
space:
mode:
Diffstat (limited to 'bug')
-rw-r--r--bug/op_edit_comment.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/bug/op_edit_comment.go b/bug/op_edit_comment.go
index f9f94f91..282b73bb 100644
--- a/bug/op_edit_comment.go
+++ b/bug/op_edit_comment.go
@@ -85,10 +85,6 @@ func (op *EditCommentOperation) Validate() error {
return fmt.Errorf("target hash is invalid")
}
- if text.Empty(op.Message) {
- return fmt.Errorf("message is empty")
- }
-
if !text.Safe(op.Message) {
return fmt.Errorf("message is not fully printable")
}