From f2fa10fc00fd2ae7c8617188a524e48295bcfe72 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sun, 24 Oct 2004 08:03:05 +0000 Subject: [PATCH] Also for removing supybot.channels. --- scripts/supybot-wizard | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/supybot-wizard b/scripts/supybot-wizard index 56972ce20..0fcbd1526 100755 --- a/scripts/supybot-wizard +++ b/scripts/supybot-wizard @@ -364,12 +364,12 @@ def main(): if yn('Do you want to set such a password?', default=False): network.password.set(getpass()) - # conf.supybot.channels + # conf.supybot.networks..channels output("""Of course, having an IRC bot isn't the most useful thing in the world unless you can make that bot join some channels.""") if yn('Do you want your bot to join some channels when he connects?', default=True): - defaultChannels = ' '.join(conf.supybot.channels()) + defaultChannels = ' '.join(network.channels()) output("""Separate channels with spaces. If the channel is locked with a key, follow the channel name with the key separated by a comma. For example: @@ -377,7 +377,7 @@ def main(): while True: channels = something('What channels?', default=defaultChannels) try: - conf.supybot.channels.set(channels) + network.channels.set(channels) break except registry.InvalidRegistryValue: # FIXME: say which ones weren't channels. @@ -386,7 +386,7 @@ def main(): those channels, really). Be sure the channel key (if you are supplying one) does not contain a comma.""") else: - conf.supybot.channels.setValue([]) + network.channels.setValue([]) ### # Plugins