From 18e09a1a57c2feec2a5931880145b2bd9f4fb422 Mon Sep 17 00:00:00 2001 From: mrhanky Date: Mon, 31 Jul 2017 18:11:44 +0200 Subject: [PATCH] Fixed kill reply --- bot/plugins/useless.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bot/plugins/useless.py b/bot/plugins/useless.py index e6b0468..2a862e6 100644 --- a/bot/plugins/useless.py +++ b/bot/plugins/useless.py @@ -84,8 +84,9 @@ class Useless(DatabasePlugin): limit 1 ''') - nick = args.get('') or mask.nick - self.bot.action(target, self.cur.fetchone()['item'].format(nick)) + self.bot.action(target, self.cur.fetchone()['item'].format( + nick=args.get('') or mask.nick, + )) @command def yiff(self, mask: IrcString, target: IrcString, args: DocOptDict):