aboutsummaryrefslogtreecommitdiff
path: root/src/mod_irc.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_irc.erl')
-rw-r--r--src/mod_irc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_irc.erl b/src/mod_irc.erl
index a833287c8..fefebcfa3 100644
--- a/src/mod_irc.erl
+++ b/src/mod_irc.erl
@@ -679,7 +679,7 @@ adhoc_join(From, To, #adhoc_command{lang = Lang, xdata = X} = Request) ->
end.
-spec adhoc_register(binary(), jid(), jid(), adhoc_command()) ->
- adhoc_command() | {error, error()}.
+ adhoc_command() | {error, stanza_error()}.
adhoc_register(_ServerHost, _From, _To,
#adhoc_command{action = cancel} = Request) ->
xmpp_util:make_adhoc_response(Request, #adhoc_command{status = canceled});