Indicate supybot.networks.$network.servers/channels are space-separated lists in their help

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
This commit is contained in:
James McCoy 2012-10-04 21:41:00 -04:00
parent b8b79d063d
commit 0b81b170ca

View File

@ -257,11 +257,12 @@ def registerNetwork(name, password='', ssl=False):
technically passwords are server-specific and not network-specific, technically passwords are server-specific and not network-specific,
but this is the best we can do right now.""" % name, private=True)) but this is the best we can do right now.""" % name, private=True))
registryServers = registerGlobalValue(network, 'servers', Servers([], registryServers = registerGlobalValue(network, 'servers', Servers([],
"""Determines what servers the bot will connect to for %s. Each will """Space-separated list of servers the bot will connect to for %s.
be tried in order, wrapping back to the first when the cycle is Each will be tried in order, wrapping back to the first when the cycle
completed.""" % name)) is completed.""" % name))
registerGlobalValue(network, 'channels', SpaceSeparatedSetOfChannels([], registerGlobalValue(network, 'channels', SpaceSeparatedSetOfChannels([],
"""Determines what channels the bot will join only on %s.""" % name)) """Space-separated list of channels the bot will join only on %s."""
% name))
registerGlobalValue(network, 'ssl', registry.Boolean(ssl, registerGlobalValue(network, 'ssl', registry.Boolean(ssl,
"""Determines whether the bot will attempt to connect with SSL sockets """Determines whether the bot will attempt to connect with SSL sockets
to %s.""" % name)) to %s.""" % name))