fixed minor naming issue in kill.py
This commit is contained in:
parent
59628292c1
commit
0948ceed12
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue