projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bumper commit for the new modulemanager API \o/ Updates all the modules, though some...
[prosody.git]
/
plugins
/
mod_private.lua
diff --git
a/plugins/mod_private.lua
b/plugins/mod_private.lua
index f07f8197979fbbd13ebd16fd13068449fed9eced..dd717d8dc3fadebb889e7e57534d60ee3cdb80bd 100644
(file)
--- a/
plugins/mod_private.lua
+++ b/
plugins/mod_private.lua
@@
-6,7
+6,7
@@
local datamanager = require "util.datamanager"
require "core.discomanager".set("private", "jabber:iq:private");
-add_iq_handler("c2s", "jabber:iq:private",
+
module:
add_iq_handler("c2s", "jabber:iq:private",
function (session, stanza)
local type = stanza.attr.type;
local query = stanza.tags[1];