Fix bug in the keyword module
This commit is contained in:
parent
cfefa1d627
commit
a98ed4e4d0
|
@ -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+"}")
|
||||
|
|
Loading…
Reference in New Issue