Fix py3 problem in accessbot.py
Change-Id: I4e3b3683b33b600cc4c1e4f09ba02c59e6f5cbb9 Fix: TypeError: unsupported operand type(s) for +: 'dict_items' and 'dict_items'
This commit is contained in:
parent
26f1dae81b
commit
90fa9170dd
@ -106,8 +106,8 @@ class SetAccess(irc.client.SimpleIRCClient):
|
||||
if channel is None:
|
||||
raise Exception("Unknown channel %s" % (channel_name,))
|
||||
mask = ''
|
||||
for access, nicks in (self.config['global'].items() +
|
||||
channel.items()):
|
||||
for access, nicks in (list(self.config['global'].items()) +
|
||||
list(channel.items())):
|
||||
if access == 'mask':
|
||||
mask = self.config['access'].get(nicks)
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user