From 0948ceed1217179a30e6242c155224d6c265af30 Mon Sep 17 00:00:00 2001 From: neersighted Date: Mon, 5 Mar 2012 20:56:03 -0800 Subject: [PATCH] fixed minor naming issue in kill.py --- plugins/kill.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)