Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mod_http_api.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mod_http_api.erl b/src/mod_http_api.erl
index 3b7a09cb7..f46860a56 100644
--- a/src/mod_http_api.erl
+++ b/src/mod_http_api.erl
@@ -28,9 +28,9 @@
%% in ejabberd_http listener
%% request_handlers:
%% "/api": mod_http_api
-%%
+%%
%% Access rights are defined with:
-%% commands_admin_access: configure
+%% commands_admin_access: configure
%% commands:
%% - add_commands: user
%%
@@ -385,7 +385,7 @@ json_response(Code, Body) when is_integer(Code) ->
log(Call, Args, {Addr, Port}) ->
AddrS = jlib:ip_to_list({Addr, Port}),
- ?INFO_MSG("Admin call ~s ~p from ~s:~p", [Call, Args, AddrS, Port]).
+ ?INFO_MSG("API call ~s ~p from ~s:~p", [Call, Args, AddrS, Port]).
mod_opt_type(access) ->
fun(Access) when is_atom(Access) -> Access end;