aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-01-26 21:16:24 +0100
committerKim Alvefur <zash@zash.se>2014-01-26 21:16:24 +0100
commit2f267b95431cd14696703b2913c1530899aff990 (patch)
treea4f7cce926a2c896837d66d4d4106eae842f3fd6 /plugins
parent860aaf011188369fdf628f9edb736323fac1ea68 (diff)
downloadprosody-2f267b95431cd14696703b2913c1530899aff990.tar.gz
prosody-2f267b95431cd14696703b2913c1530899aff990.zip
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_unknown.lua4
-rw-r--r--plugins/mod_windows.lua4
2 files changed, 8 insertions, 0 deletions
diff --git a/plugins/mod_unknown.lua b/plugins/mod_unknown.lua
new file mode 100644
index 00000000..4d20b8ad
--- /dev/null
+++ b/plugins/mod_unknown.lua
@@ -0,0 +1,4 @@
+-- Unknown platform stub
+module:set_global();
+
+-- TODO Do things that make sense if we don't know about the platform
diff --git a/plugins/mod_windows.lua b/plugins/mod_windows.lua
new file mode 100644
index 00000000..8085fd88
--- /dev/null
+++ b/plugins/mod_windows.lua
@@ -0,0 +1,4 @@
+-- Windows platform stub
+module:set_global();
+
+-- TODO Add Windows-specific things here