fixed minor naming issue in kill.py

This commit is contained in:
neersighted 2012-03-05 20:56:03 -08:00
parent 59628292c1
commit 0948ceed12

View file

@ -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 ('<who>', nick, target)
target = re.sub ('<body>', random.choice(body), target)
kill = re.sub ('<body>', random.choice(body), target)
else:
target = random.choice(kills)
target = re.sub ('<who>', inp, target)
target = re.sub ('<body>', random.choice(body), target)
msg = target
kill = re.sub ('<body>', random.choice(body), target)
msg = kill
me(msg)