use new admin logic

This commit is contained in:
Firepup Sixfifty 2023-11-14 22:51:14 -06:00
parent 7472669193
commit f368794ee9
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -50,7 +50,7 @@ def uptime(bot: bare.bot, chan: str, name: str, message: str) -> None:
def isAdmin(bot: bare.bot, chan: str, name: str, message: str) -> None: def isAdmin(bot: bare.bot, chan: str, name: str, message: str) -> None:
bot.msg( bot.msg(
f"{name.lower()} in {bot.adminnames} == {name.lower() in bot.adminnames}", f"{conf.adminCheck(bot, name)} (hostname is not checked)",
chan, chan,
) )