Mercurial > prosody-hg
comparison core/servermanager.lua @ 336:d97d59cfd1e8
Small fix for servermanager
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 18 Nov 2008 22:40:23 +0000 |
| parents | 4df26c981728 |
| children |
comparison
equal
deleted
inserted
replaced
| 335:906311ff2170 | 336:d97d59cfd1e8 |
|---|---|
| 1 | 1 |
| 2 local st = require "util.stanza"; | 2 local st = require "util.stanza"; |
| 3 local xmlns_stanzas ='urn:ietf:params:xml:ns:xmpp-stanzas'; | 3 local xmlns_stanzas ='urn:ietf:params:xml:ns:xmpp-stanzas'; |
| 4 | 4 |
| 5 require "modulemanager" | 5 local modulemanager = require "core.modulemanager"; |
| 6 | 6 |
| 7 -- Handle stanzas that were addressed to the server (whether they came from c2s, s2s, etc.) | 7 -- Handle stanzas that were addressed to the server (whether they came from c2s, s2s, etc.) |
| 8 function handle_stanza(origin, stanza) | 8 function handle_stanza(origin, stanza) |
| 9 -- Use plugins | 9 -- Use plugins |
| 10 if not modulemanager.handle_stanza(origin, stanza) then | 10 if not modulemanager.handle_stanza(origin, stanza) then |
