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
1 changed files with 5 additions and 4 deletions

View File

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