aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-05-16 12:00:31 +0300
committerGravatar Vitaly Takmazov2018-05-16 12:00:31 +0300
commit1f7c9279f4cc38e1e365f6a97b4557bd96604f41 (patch)
tree1ad08d9676618d9282485f5a2a5180a5005c4d4e /juick-common/src/main/java
parentf962d24898b1b8921229ee32c9cba8aa20438b00 (diff)
common: fix tags maximum
Diffstat (limited to 'juick-common/src/main/java')
-rw-r--r--juick-common/src/main/java/com/juick/server/CommandsManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-common/src/main/java/com/juick/server/CommandsManager.java b/juick-common/src/main/java/com/juick/server/CommandsManager.java
index 6b759bed..4b32c456 100644
--- a/juick-common/src/main/java/com/juick/server/CommandsManager.java
+++ b/juick-common/src/main/java/com/juick/server/CommandsManager.java
@@ -101,7 +101,7 @@ public class CommandsManager {
}
}
List<Tag> tags = tagService.fromString(input, false);
- if (tags.size() >= 5) {
+ if (tags.size() > 5) {
return CommandResult.fromString("Sorry, 5 tags maximum.");
}
// new message