equal
deleted
inserted
replaced
74 if component then |
74 if component then |
75 global_modules = set.intersection(set.new(component_inheritable_modules), global_modules); |
75 global_modules = set.intersection(set.new(component_inheritable_modules), global_modules); |
76 end |
76 end |
77 local modules = (global_modules + set.new(host_modules_enabled)) - set.new(host_modules_disabled); |
77 local modules = (global_modules + set.new(host_modules_enabled)) - set.new(host_modules_disabled); |
78 |
78 |
79 -- COMPAT w/ pre 0.8 |
|
80 if modules:contains("console") then |
|
81 log("error", "The mod_console plugin has been renamed to mod_admin_telnet. Please update your config."); |
|
82 modules:remove("console"); |
|
83 modules:add("admin_telnet"); |
|
84 end |
|
85 |
|
86 if modules:contains("vcard") and modules:contains("vcard_legacy") then |
79 if modules:contains("vcard") and modules:contains("vcard_legacy") then |
87 log("error", "The mod_vcard_legacy plugin replaces mod_vcard but both are enabled. Please update your config."); |
80 log("error", "The mod_vcard_legacy plugin replaces mod_vcard but both are enabled. Please update your config."); |
88 modules:remove("vcard"); |
81 modules:remove("vcard"); |
89 end |
82 end |
90 |
83 |