Fri, 03 Oct 2008 22:17:20 +0100
Add support for arbitrary events and event hooks
30 | 1 | |
2 | require "modulemanager" | |
3 | ||
4 | -- Handle stanzas that were addressed to the server (whether they came from c2s, s2s, etc.) | |
5 | function handle_stanza(origin, stanza) | |
6 | -- Use plugins | |
7 | return modulemanager.handle_stanza(origin, stanza); | |
8 | end |