aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/server
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-03-21 11:55:52 +0300
committerGravatar Vitaly Takmazov2018-03-21 11:55:52 +0300
commitf066f48e4cabd0d7649af2e8c1f4b6a7dea56673 (patch)
treef096a8cc8d0bcd7582ebc2b65d51257d630fcf4e /juick-server/src/main/java/com/juick/server
parentc56aa2e1e475fa482dbfa6d44e927fbb12459a8c (diff)
fix tests
Diffstat (limited to 'juick-server/src/main/java/com/juick/server')
-rw-r--r--juick-server/src/main/java/com/juick/server/XMPPBot.java2
1 files changed, 1 insertions, 1 deletions
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 38f3ed45..ac1c4121 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";
}