[ChOp] Fix badword handling

master
Sfan5 2013-04-28 21:58:01 +02:00
parent b17a74707b
commit 3d15b5b902
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ def num_badwords(sentence):
for bwl in badword_list.split("\n"):
args = bwl.split(" ")
if len(args) < 2: continue
arg = ' '.join(args[1]).rstrip("\n\r")
arg = ' '.join(args[1:]).rstrip("\n\r")
if args[0] == "regex":
try:
rgx = re.compile(arg)