Fix bug that couldn't connect if starttls_required and zlib were set (EJAB-1118)

SVN Revision: 2789
This commit is contained in:
Badlop 2009-12-07 15:54:25 +00:00
parent 3aa242e2c7
commit f044d6ed28
1 changed files with 0 additions and 1 deletions

View File

@ -187,7 +187,6 @@ init([{SockMod, Socket}, Opts]) ->
(_) -> false
end, Opts),
TLSOpts = [verify_none | TLSOpts1],
Zlib = lists:member(zlib, Opts) andalso (not StartTLSRequired),
IP = peerip(SockMod, Socket),
%% Check if IP is blacklisted:
case is_ip_blacklisted(IP) of