From 211f134d9ba7c5a86ce58563ffd1537a09dead1c Mon Sep 17 00:00:00 2001 From: upagge Date: Fri, 1 May 2020 17:32:25 +0300 Subject: [PATCH] bugfix --- pom.xml | 2 +- src/main/java/org/sadtech/autoresponder/entity/Unit.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 1cd7128..7f6a707 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.sadtech.autoresponder autoresponder - 1.9-RELEASE + 1.9.1-RELEASE jar Abstract Autoresponder diff --git a/src/main/java/org/sadtech/autoresponder/entity/Unit.java b/src/main/java/org/sadtech/autoresponder/entity/Unit.java index 34f3788..3d9f84a 100644 --- a/src/main/java/org/sadtech/autoresponder/entity/Unit.java +++ b/src/main/java/org/sadtech/autoresponder/entity/Unit.java @@ -48,7 +48,7 @@ public abstract class Unit { this.phrase = phrase; this.pattern = pattern; this.matchThreshold = matchThreshold == null ? 10 : matchThreshold; - this.priority = priority == null ? 10 : matchThreshold; + this.priority = priority == null ? 10 : priority; this.nextUnits = nextUnits; }