Fixed kill reply

This commit is contained in:
mrhanky 2017-07-31 18:11:44 +02:00
parent af957ff224
commit 18e09a1a57
No known key found for this signature in database
GPG Key ID: 67D772C481CB41B8

View File

@ -84,8 +84,9 @@ class Useless(DatabasePlugin):
limit
1
''')
nick = args.get('<nick>') 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('<nick>') or mask.nick,
))
@command
def yiff(self, mask: IrcString, target: IrcString, args: DocOptDict):