From 51312c9e2865e4da2f10d8023b3752d9d0ed46e7 Mon Sep 17 00:00:00 2001 From: Elijah Lazkani Date: Sat, 16 Sep 2017 09:26:19 -0400 Subject: [PATCH] HOTFIX: Admins can now remove other admins Description: found a bug in the code that prevents anyone from removing anyone else due to unawaited function call --- boots/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boots/admin.py b/boots/admin.py index d2c43ea..9f0ae0a 100644 --- a/boots/admin.py +++ b/boots/admin.py @@ -215,7 +215,7 @@ class Admin: elif self.ADD.match(message): await self.admin_add(nick, target, message, **kwargs) elif self.RM.match(message): - self.admin_rm(nick, target, message, **kwargs) + await self.admin_rm(nick, target, message, **kwargs) elif self.LIST.match(message): self.admin_list(nick, target, **kwargs)