stupid typo

This commit is contained in:
Thomas Steen Rasmussen 2018-04-13 21:47:36 +02:00
parent a978ccb6ea
commit fa6981ea22

View file

@ -321,7 +321,7 @@ class Plugin(object):
logger.debug("Found %s memberships which need IRC ACL fixing.." % missing_acls.count()) logger.debug("Found %s memberships which need IRC ACL fixing.." % missing_acls.count())
for membership in missing_acls: for membership in missing_acls:
# add to team public channel? # add to team public channel?
if membership.team.public_channel_name and membership.publíc_channel_managed: if membership.team.public_irc_channel_name and membership.publíc_irc_channel_managed:
self.bot.add_user_to_channel_acl( self.bot.add_user_to_channel_acl(
username=membership.user.profile.nickserv_username, username=membership.user.profile.nickserv_username,
channel=membership.team.public_irc_channel_name, channel=membership.team.public_irc_channel_name,
@ -329,7 +329,7 @@ class Plugin(object):
) )
# add to team private channel? # add to team private channel?
if membership.team.private_channel_name and membership.private_channel_managed: if membership.team.private_irc_channel_name and membership.private_irc_channel_managed:
self.bot.add_user_to_channel_acl( self.bot.add_user_to_channel_acl(
username=membership.user.profile.nickserv_username, username=membership.user.profile.nickserv_username,
channel=membership.team.private_irc_channel_name, channel=membership.team.private_irc_channel_name,