aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-02-05 14:22:48 +0000
committerMatthew Wild <mwild1@gmail.com>2010-02-05 14:22:48 +0000
commit445c0cec5f6167e24abeb90ca8f15948fb160ea8 (patch)
tree5b897c113e9e3d6d5ebfe642dfcbb7475e726337
parentb091201f79ebb0dcdd5b36a956cb6001bbe20f18 (diff)
downloadprosody-445c0cec5f6167e24abeb90ca8f15948fb160ea8.tar.gz
prosody-445c0cec5f6167e24abeb90ca8f15948fb160ea8.zip
certmanager: Tabs not spaces!
-rw-r--r--core/certmanager.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index 55059b3f..dfda3fd8 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -21,9 +21,9 @@ local default_ssl_config = configmanager.get("*", "core", "ssl");
function get_context(host, mode, config)
local ssl_config = config and config.core.ssl or default_ssl_config;
if ssl and ssl_config then
- return ssl_newcontext(setmetatable(ssl_config, mode == "client" and default_ssl_ctx_mt or default_ssl_ctx_in_mt));
- end
- return nil;
+ return ssl_newcontext(setmetatable(ssl_config, mode == "client" and default_ssl_ctx_mt or default_ssl_ctx_in_mt));
+ end
+ return nil;
end
function reload_ssl_config()