mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
plugins/Network: Actually parse the option list and set an ssl variable.
This commit is contained in:
parent
648ae85b51
commit
22c6422f47
@ -65,6 +65,10 @@ class Network(callbacks.Plugin):
|
||||
# quite sure what to do about it.
|
||||
except callbacks.Error:
|
||||
pass
|
||||
ssl = False
|
||||
for (opt, arg) in opts:
|
||||
if opt == 'ssl':
|
||||
ssl = True
|
||||
if server:
|
||||
if ':' in server:
|
||||
(server, port) = server.split(':')
|
||||
|
Loading…
Reference in New Issue
Block a user