From f066f48e4cabd0d7649af2e8c1f4b6a7dea56673 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 21 Mar 2018 11:55:52 +0300 Subject: fix tests --- juick-server/src/main/java/com/juick/server/XMPPBot.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-server/src/main/java/com/juick/server') diff --git a/juick-server/src/main/java/com/juick/server/XMPPBot.java b/juick-server/src/main/java/com/juick/server/XMPPBot.java index 38f3ed45c..ac1c4121e 100644 --- a/juick-server/src/main/java/com/juick/server/XMPPBot.java +++ b/juick-server/src/main/java/com/juick/server/XMPPBot.java @@ -670,7 +670,7 @@ public class XMPPBot implements StanzaListener, AutoCloseable { return "This is not your reply"; } } - @UserCommand(pattern = "(^(D L|DL|D LAST)$", help = "D L - Delete last message", patternFlags = Pattern.CASE_INSENSITIVE) + @UserCommand(pattern = "^(D L|DL|D LAST)$", help = "D L - Delete last message", patternFlags = Pattern.CASE_INSENSITIVE) public String commandDeleteLast(User user, Jid from, String... args) { return "Temporarily unavailable"; } -- cgit v1.2.3