Software /
code /
prosody
Annotate
plugins/mod_windows.lua @ 9149:d03f21729b2c
moduleapi: Remove multiple-parameters feature from module:shared()
Multiple paths are rarely used, and leads to less clear code than just
calling module:shared() once per shared table. It also prevents us from
extending the API with new parameters in the future.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 08 Aug 2018 08:19:01 +0100 |
parent | 6003:28a90f5fea46 |
rev | line source |
---|---|
6003
28a90f5fea46
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 -- Windows platform stub |
28a90f5fea46
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 module:set_global(); |
28a90f5fea46
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 |
28a90f5fea46
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 -- TODO Add Windows-specific things here |