This commit is contained in:
upagge 2020-05-01 17:32:25 +03:00
parent 0a15df48cf
commit 211f134d9b
No known key found for this signature in database
GPG Key ID: 15CD012E46F6BA34
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<groupId>org.sadtech.autoresponder</groupId>
<artifactId>autoresponder</artifactId>
<version>1.9-RELEASE</version>
<version>1.9.1-RELEASE</version>
<packaging>jar</packaging>
<name>Abstract Autoresponder</name>

View File

@ -48,7 +48,7 @@ public abstract class Unit<U extends 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;
}