Skip to content

Commit

Permalink
Update src/mod_time.erl
Browse files Browse the repository at this point in the history
Co-authored-by: Paweł Chrząszcz <[email protected]>
  • Loading branch information
2 people authored and Janusz Jakubiec committed Mar 1, 2022
1 parent c9c0fbf commit 52ba9ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod_time.erl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
-xep([{xep, 202}, {version, "2.0"}]).
-xep([{xep, 82}, {version, "1.1"}]).

-spec start(HostType :: mongooseim:host_type(), gen_mod:module_opts()) -> ok | {erorr, atom()}.
-spec start(HostType :: mongooseim:host_type(), gen_mod:module_opts()) -> ok | {error, atom()}.
start(HostType, #{iqdisc := IQDisc}) ->
gen_iq_handler:add_iq_handler_for_domain(HostType, ?NS_TIME, ejabberd_local,
fun ?MODULE:process_local_iq/5, #{}, IQDisc).
Expand Down

0 comments on commit 52ba9ee

Please sign in to comment.