Network: fix getopts key for --nossl

This commit is contained in:
James Lu 2016-03-11 19:44:46 -08:00
parent 5db3faca7a
commit 9ace3004aa

View File

@ -102,7 +102,7 @@ class Network(callbacks.Plugin):
conf.supybot.networks().add(network)
assert newIrc.callbacks is irc.callbacks, 'callbacks list is different'
irc.replySuccess(_('Connection to %s initiated.') % network)
connect = wrap(connect, ['owner', getopts({'ssl': ''}), 'something',
connect = wrap(connect, ['owner', getopts({'nossl': ''}), 'something',
additional('something'),
additional('something', '')])