Fix0red an exception I forgot to catch.

This commit is contained in:
Jeremy Fincher 2004-08-30 18:21:43 +00:00
parent 8194cea4e9
commit d22449d5a0
1 changed files with 1 additions and 1 deletions

View File

@ -818,7 +818,7 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
else:
try:
serverPort = conf.supybot.networks.get(network).servers()[0]
except IndexError:
except (registry.NonExistentRegistryEntry, IndexError):
irc.error('A server must be provided if the network is not '
'already registered.')
return