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:
parent
2b1dc33e47
commit
51312c9e28
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ class Admin:
|
||||||
elif self.ADD.match(message):
|
elif self.ADD.match(message):
|
||||||
await self.admin_add(nick, target, message, **kwargs)
|
await self.admin_add(nick, target, message, **kwargs)
|
||||||
elif self.RM.match(message):
|
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):
|
elif self.LIST.match(message):
|
||||||
self.admin_list(nick, target, **kwargs)
|
self.admin_list(nick, target, **kwargs)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue