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
This commit is contained in:
Elijah Lazkani 2017-09-16 09:26:19 -04:00
parent 2b1dc33e47
commit 51312c9e28

View file

@ -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)