Diff

util/prosodyctl.lua @ 6068:175590cc7b07

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Thu, 10 Apr 2014 13:16:54 +0200
parent 6062:6cc6b4d407df
child 6367:769a3577dd85
line wrap: on
line diff
--- a/util/prosodyctl.lua	Thu Apr 03 23:54:58 2014 +0200
+++ b/util/prosodyctl.lua	Thu Apr 10 13:16:54 2014 +0200
@@ -189,8 +189,8 @@
 		return false, "no-pidfile";
 	end
 
-	local modules_enabled = set.new(config.get("*", "modules_enabled"));
-	if not modules_enabled:contains("posix") then
+	local modules_enabled = set.new(config.get("*", "modules_disabled"));
+	if prosody.platform ~= "posix" or modules_enabled:contains("posix") then
 		return false, "no-posix";
 	end