Fix internationalisation bug in Config plugin

This commit is contained in:
Valentin Lorentz 2010-11-26 23:19:05 +01:00
parent 0998c2a43f
commit 13b194a4fe

View File

@ -156,7 +156,7 @@ class Config(callbacks.Plugin):
Searches for <word> in the current configuration variables. Searches for <word> in the current configuration variables.
""" """
L = [] L = []
for (name, _) in conf.supybot.getValues(getChildren=True): for (name, x) in conf.supybot.getValues(getChildren=True):
if word in name.lower(): if word in name.lower():
possibleChannel = registry.split(name)[-1] possibleChannel = registry.split(name)[-1]
if not ircutils.isChannel(possibleChannel): if not ircutils.isChannel(possibleChannel):