Merge pull request #1227 from GLolol/network/fix-getopts

Network: fix getopts key for --nossl
This commit is contained in:
Valentin Lorentz 2016-03-12 07:40:00 +01:00
commit 71c67f8773

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', '')])