diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-11-22 03:48:04 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-11-22 03:48:04 +0000 |
commit | 14cd16dda7f1b5fb53f5a88edf4bb815a47b0fde (patch) | |
tree | e67ee5e659b7405ea60b30e6a1ea67e18101d613 /net/server_event.lua | |
parent | 7ae00da04478cee9fe34bde8cc016292ce2a503d (diff) | |
download | prosody-14cd16dda7f1b5fb53f5a88edf4bb815a47b0fde.tar.gz prosody-14cd16dda7f1b5fb53f5a88edf4bb815a47b0fde.zip |
net.server_event: Correct a few instances of .sslctx to ._sslctx
Diffstat (limited to 'net/server_event.lua')
-rw-r--r-- | net/server_event.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index 879d9801..88292e35 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -180,7 +180,7 @@ do _ = self.eventwrite and self.eventwrite:close( )
self.eventread, self.eventwrite = nil, nil
local err
- self.conn, err = ssl.wrap( self.conn, self.sslctx )
+ self.conn, err = ssl.wrap( self.conn, self._sslctx )
if err then
self.fatalerror = err
self.conn = nil -- cannot be used anymore
@@ -374,7 +374,7 @@ do function interface_mt:starttls()
debug( "try to start ssl at client id:", self.id )
local err
- if not self.sslctx then -- no ssl available
+ if not self._sslctx then -- no ssl available
err = "no ssl context available"
elseif self.usingssl then -- startssl was already called
err = "ssl already active"
|