Fixed bug in setProperty where the wrong constant was used.
This commit is contained in:
parent
b55bfb45b7
commit
eecc2f093f
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ class LinksMgr(bot: Mobibot) : AbstractCommand(bot) {
|
|||
super.setProperty(key, value)
|
||||
if (KEYWORDS_PROP == key) {
|
||||
keywords.addAll(value.split(TAG_MATCH.toRegex()))
|
||||
} else if (KEYWORDS_PROP == key) {
|
||||
} else if (TAGS_PROP == key) {
|
||||
defaultTags.addAll(value.split(TAG_MATCH.toRegex()))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue