This commit is contained in:
deathbybandaid 2023-01-24 09:57:27 -05:00
parent 318e93218f
commit 4405766e95

View File

@ -1,4 +1,3 @@
import sys
from sopel import plugin from sopel import plugin
@ -115,11 +114,7 @@ class Users():
channel = self.bot.channels[channelstr] channel = self.bot.channels[channelstr]
for nick, user in channel.users: if nick in [nick for nick in list(channel.users.items()) if channel.has_privileges(nick, privilege)]:
sys.stdout.write(nick)
sys.stdout.write(user)
if nick in [user for nick, user in channel.users if channel.has_privileges(nick, privilege)]:
return True return True
return False return False