diff --git a/plugins/kill.py b/plugins/kill.py index 20e6324..c698cc8 100755 --- a/plugins/kill.py +++ b/plugins/kill.py @@ -44,10 +44,10 @@ def kill(inp, me=None, nick=None, input=None, notice=None): if inp == input.conn.nick.lower() or inp == "itself": target = random.choice(kills) target = re.sub ('', nick, target) - target = re.sub ('', random.choice(body), target) + kill = re.sub ('', random.choice(body), target) else: target = random.choice(kills) target = re.sub ('', inp, target) - target = re.sub ('', random.choice(body), target) - msg = target + kill = re.sub ('', random.choice(body), target) + msg = kill me(msg)