From c13e080420cc7cf3c7d6399a023f08f0aa6e9037 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 18 Jan 2010 18:20:03 +0000 Subject: net.server_event: Remove access to starttls method when starttls is negotiated - fixes offering starttls to client who are already using it (thanks darkrain and Adium) --- net/server_event.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/net/server_event.lua b/net/server_event.lua index 62c199c6..fd6cbd50 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -415,6 +415,7 @@ do self:_lock( true, true, false ) debug "ssl session delayed until writebuffer is empty..." end + self.starttls = false; return true end -- cgit v1.2.3