LinkRelay: Use .items() instead of .iteritems().

master
Valentin Lorentz 2013-05-11 10:13:05 +02:00
parent 3cc34fd142
commit cc966b2fe8
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ class LinkRelay(callbacks.Plugin):
args['color'] = '\x03%s' % self.registryValue('colors.nick', msg.args[0])
s = _('*/* %(oldnick)s (%(network)s) changed their nickname to '
'%(newnick)s')
for (channel, c) in irc.state.channels.iteritems():
for (channel, c) in irc.state.channels.items():
if msg.args[0] in c.users:
self.sendToOthers(irc, channel, s, args)