From 463f0c01845ca4173c5d3353c8f6113d0a20a40e Mon Sep 17 00:00:00 2001 From: Daniel Folkinshteyn Date: Thu, 30 Aug 2012 15:58:51 -0400 Subject: [PATCH] core: make network.channels and channel keys private by default. Otherwise these can reveal secret information. --- src/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conf.py b/src/conf.py index 7517b32ae..d35f2d62e 100644 --- a/src/conf.py +++ b/src/conf.py @@ -267,12 +267,12 @@ def registerNetwork(name, password='', ssl=False): be tried in order, wrapping back to the first when the cycle is completed.""" % name)) registerGlobalValue(network, 'channels', SpaceSeparatedSetOfChannels([], - """Determines what channels the bot will join only on %s.""" % name)) + """Determines what channels the bot will join only on %s.""" % name, private=True)) registerGlobalValue(network, 'ssl', registry.Boolean(ssl, """Determines whether the bot will attempt to connect with SSL sockets to %s.""" % name)) registerChannelValue(network.channels, 'key', registry.String('', - """Determines what key (if any) will be used to join the channel.""")) + """Determines what key (if any) will be used to join the channel.""", private=True)) return network # Let's fill our networks.