summaryrefslogtreecommitdiff
path: root/src/mod_private.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_private.erl')
-rw-r--r--src/mod_private.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_private.erl b/src/mod_private.erl
index ca320a7a..fa043122 100644
--- a/src/mod_private.erl
+++ b/src/mod_private.erl
@@ -26,7 +26,7 @@ start(Opts) ->
mnesia:create_table(private_storage,
[{disc_only_copies, [node()]},
{attributes, record_info(fields, private_storage)}]),
- gen_iq_handler:add_iq_handler(ejabberd_local, ?NS_PRIVATE,
+ gen_iq_handler:add_iq_handler(ejabberd_sm, ?NS_PRIVATE,
?MODULE, process_local_iq, IQDisc).
stop() ->