mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Add debug message on command execution
SVN Revision: 2650
This commit is contained in:
parent
4039f4a14f
commit
c79489fb65
@ -311,6 +311,7 @@ execute_command(AccessCommands, Auth, Name, Arguments) ->
|
|||||||
execute_command2(Command, Arguments) ->
|
execute_command2(Command, Arguments) ->
|
||||||
Module = Command#ejabberd_commands.module,
|
Module = Command#ejabberd_commands.module,
|
||||||
Function = Command#ejabberd_commands.function,
|
Function = Command#ejabberd_commands.function,
|
||||||
|
?DEBUG("Executing command ~p:~p with Args=~p", [Module, Function, Arguments]),
|
||||||
apply(Module, Function, Arguments).
|
apply(Module, Function, Arguments).
|
||||||
|
|
||||||
%% @spec () -> [{Tag::string(), [CommandName::string()]}]
|
%% @spec () -> [{Tag::string(), [CommandName::string()]}]
|
||||||
|
Loading…
Reference in New Issue
Block a user