plugins/Network: Actually parse the option list and set an ssl variable.

This commit is contained in:
James Vega 2005-12-29 02:12:32 +00:00
parent 648ae85b51
commit 22c6422f47

View File

@ -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(':')