aboutsummaryrefslogtreecommitdiff
path: root/src/mod_time.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_time.erl')
-rw-r--r--src/mod_time.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mod_time.erl b/src/mod_time.erl
index 1355ba46c..53f2e5432 100644
--- a/src/mod_time.erl
+++ b/src/mod_time.erl
@@ -50,6 +50,7 @@ stop(Host) ->
reload(_Host, _NewOpts, _OldOpts) ->
ok.
+-spec process_local_iq(iq()) -> iq().
process_local_iq(#iq{type = set, lang = Lang} = IQ) ->
Txt = ?T("Value 'set' of 'type' attribute is not allowed"),
xmpp:make_error(IQ, xmpp:err_not_allowed(Txt, Lang));