Fix bug in the keyword module

This commit is contained in:
Mark Veidemanis 2018-10-07 20:52:58 +01:00
parent cfefa1d627
commit a98ed4e4d0
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ def isKeyword(msg):
if x in message:
toUndo = True
messageDuplicate = messageDuplicate.replace(x, "\0\r\n\n\0")
for y in keyconf["Keywords"]:
for y in main.keyconf["Keywords"]:
if i in messageDuplicate:
totalNum += messageDuplicate.count(i)
message = messageDuplicate.replace(i, "{"+i+"}")