mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
plugins: Prefix module imports with prosody namespace
This commit is contained in:
parent
8136aa749a
commit
98922d54b1
100 changed files with 499 additions and 499 deletions
|
@ -1,6 +1,6 @@
|
|||
-- XEP-0307: Unique Room Names for Multi-User Chat
|
||||
local st = require "util.stanza";
|
||||
local unique_name = require "util.id".medium;
|
||||
local st = require "prosody.util.stanza";
|
||||
local unique_name = require "prosody.util.id".medium;
|
||||
module:add_feature "http://jabber.org/protocol/muc#unique"
|
||||
module:hook("iq-get/host/http://jabber.org/protocol/muc#unique:unique", function(event)
|
||||
local origin, stanza = event.origin, event.stanza;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue