# HG changeset patch # User Marco Cirillo # Date 1362662215 -3600 # Node ID ef859c9d42c41b635b5e6e685d58caa9b767ef90 # Parent f183de41b7c602117bea1204a53449791e2d8dc4 mod_s2s_never_encrypt_blacklist: supply an empty table as default value, fixes traceback. (Thanks Tobias) diff -r f183de41b7c6 -r ef859c9d42c4 mod_s2s_never_encrypt_blacklist/mod_s2s_never_encrypt_blacklist.lua --- a/mod_s2s_never_encrypt_blacklist/mod_s2s_never_encrypt_blacklist.lua Tue Mar 05 01:10:08 2013 +0100 +++ b/mod_s2s_never_encrypt_blacklist/mod_s2s_never_encrypt_blacklist.lua Thu Mar 07 14:16:55 2013 +0100 @@ -1,7 +1,7 @@ -- Filter out servers which gets choppy and buggy when it comes to starttls. -local bad_servers = module:get_option_set("tls_s2s_blacklist") -local bad_servers_ip = module:get_option_set("tls_s2s_blacklist_ip") +local bad_servers = module:get_option_set("tls_s2s_blacklist", {}) +local bad_servers_ip = module:get_option_set("tls_s2s_blacklist_ip", {}) local function disable_tls_for_baddies_in(event) if bad_servers:contains(event.origin.to_host) or bad_servers_ip:contains(event.origin.conn:ip())