Merge 0.10->trunk
[prosody.git] / plugins / mod_posix.lua
index 89d6d2b6c1b4f768101dd25e4167c06447212d13..c9b9f3aa03986506831fa35c29aae9bf5ddd43d7 100644 (file)
@@ -80,7 +80,7 @@ local function write_pidfile()
        if pidfile_handle then
                remove_pidfile();
        end
-       pidfile = module:get_option("pidfile");
+       pidfile = module:get_option_string("pidfile");
        if pidfile then
                local err;
                local mode = stat(pidfile) and "r+" or "w+";