aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd_commands.erl
diff options
context:
space:
mode:
authorEvgeny Khramtsov <ekhramtsov@process-one.net>2019-07-16 22:07:39 +0300
committerEvgeny Khramtsov <ekhramtsov@process-one.net>2019-07-16 22:07:39 +0300
commit15b4b3fa1bf97af74c9a2019afc14af2965c66db (patch)
treefb3468029ac30d9d5e422c0e550f927f453a9707 /src/ejabberd_commands.erl
parentAvoid record duplication (diff)
Fix typos using codespell
Diffstat (limited to '')
-rw-r--r--src/ejabberd_commands.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ejabberd_commands.erl b/src/ejabberd_commands.erl
index b3c3ef4d5..08faff22e 100644
--- a/src/ejabberd_commands.erl
+++ b/src/ejabberd_commands.erl
@@ -200,7 +200,7 @@
%%% command.
%%% TODO: consider this feature:
-%%% All commands are catched. If an error happens, return the restuple:
+%%% All commands are caught. If an error happens, return the restuple:
%%% {error, flattened error string}
%%% This means that ecomm call APIs (ejabberd_ctl, ejabberd_xmlrpc)
%%% need to allows this. And ejabberd_xmlrpc must be prepared to
@@ -348,7 +348,7 @@ list_commands() ->
-spec list_commands(integer()) -> [{atom(), [aterm()], string()}].
%% @doc Get a list of all the available commands, arguments and
-%% description in a given API verion.
+%% description in a given API version.
list_commands(Version) ->
Commands = get_commands_definition(Version),
[{Name, Args, Desc} || #ejabberd_commands{name = Name,