418 self.starttls = false; |
418 self.starttls = false; |
419 return true |
419 return true |
420 end |
420 end |
421 |
421 |
422 function interface_mt:setoption(option, value) |
422 function interface_mt:setoption(option, value) |
423 return self.conn:setoption(option, value); |
423 if self.conn.setoption then |
|
424 return self.conn:setoption(option, value); |
|
425 end |
|
426 return false, "setoption not implemented"; |
424 end |
427 end |
425 |
428 |
426 -- Stub handlers |
429 -- Stub handlers |
427 function interface_mt:onconnect() |
430 function interface_mt:onconnect() |
428 end |
431 end |