# HG changeset patch # User Kim Alvefur # Date 1397082215 -7200 # Node ID 1056ea08970f8e62b32a4b717e7f4d5b6c1bcc4e # Parent de4c83feb06413bd8add98b172f21057dc50b352 mod_posix: Remove compat code for 0.5 diff -r de4c83feb064 -r 1056ea08970f plugins/mod_posix.lua --- a/plugins/mod_posix.lua Tue Apr 08 19:23:11 2014 +0200 +++ b/plugins/mod_posix.lua Thu Apr 10 00:23:35 2014 +0200 @@ -129,14 +129,6 @@ require "core.loggingmanager".register_sink_type("syslog", syslog_sink_maker); local daemonize = module:get_option("daemonize", prosody.installed); -if daemonize == nil then - local no_daemonize = module:get_option("no_daemonize"); --COMPAT w/ 0.5 - daemonize = not no_daemonize; - if no_daemonize ~= nil then - module:log("warn", "The 'no_daemonize' option is now replaced by 'daemonize'"); - module:log("warn", "Update your config from 'no_daemonize = %s' to 'daemonize = %s'", tostring(no_daemonize), tostring(daemonize)); - end -end local function remove_log_sinks() local lm = require "core.loggingmanager";