aboutsummaryrefslogtreecommitdiffstats
path: root/core/servermanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/servermanager.lua')
-rw-r--r--core/servermanager.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/servermanager.lua b/core/servermanager.lua
new file mode 100644
index 00000000..02ccab53
--- /dev/null
+++ b/core/servermanager.lua
@@ -0,0 +1,8 @@
+
+require "modulemanager"
+
+-- Handle stanzas that were addressed to the server (whether they came from c2s, s2s, etc.)
+function handle_stanza(origin, stanza)
+ -- Use plugins
+ return modulemanager.handle_stanza(origin, stanza);
+end