mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +01:00
Config: Fix previous commit.
This commit is contained in:
parent
c2b6305c46
commit
01e4427057
@ -252,15 +252,15 @@ class Config(callbacks.Plugin):
|
|||||||
private = None
|
private = None
|
||||||
for channel in channels:
|
for channel in channels:
|
||||||
(value, private_value) = self._getValue(irc, msg, group.get(channel))
|
(value, private_value) = self._getValue(irc, msg, group.get(channel))
|
||||||
values.append(value)
|
values.append((channel, value))
|
||||||
if private_value:
|
if private_value:
|
||||||
private = True
|
private = True
|
||||||
if len(channels) > 1:
|
if len(channels) > 1:
|
||||||
irc.reply('; '.join([
|
irc.reply('; '.join([
|
||||||
'%s: %s' % (channel, value)
|
'%s: %s' % (channel, value)
|
||||||
for value in values]))
|
for (channel, value) in values]))
|
||||||
else:
|
else:
|
||||||
irc.reply(values[0])
|
irc.reply(values[0][1])
|
||||||
channel = wrap(channel, ['channels', 'settableConfigVar',
|
channel = wrap(channel, ['channels', 'settableConfigVar',
|
||||||
additional('text')])
|
additional('text')])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user