mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-24 02:54:05 +01:00
Config: Prevent accidental leak of private values on public channels.
This commit is contained in:
parent
d4cac026d4
commit
68de4f8ffd
@ -256,11 +256,11 @@ class Config(callbacks.Plugin):
|
||||
if private_value:
|
||||
private = True
|
||||
if len(channels) > 1:
|
||||
irc.reply('; '.join([
|
||||
'%s: %s' % (channel, value)
|
||||
for (channel, value) in values]))
|
||||
irc.reply('; '.join(['%s: %s' % (channel, value)
|
||||
for (channel, value) in values]),
|
||||
private=private)
|
||||
else:
|
||||
irc.reply(values[0][1])
|
||||
irc.reply(values[0][1], private=private)
|
||||
channel = wrap(channel, ['channels', 'settableConfigVar',
|
||||
additional('text')])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user