mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-12 21:52:07 +02:00
Add debug message on command execution
Merged from trunk@2650. SVN Revision: 2653
This commit is contained in:
parent
503defac73
commit
13a231f6fa
|
@ -311,6 +311,7 @@ execute_command(AccessCommands, Auth, Name, Arguments) ->
|
|||
execute_command2(Command, Arguments) ->
|
||||
Module = Command#ejabberd_commands.module,
|
||||
Function = Command#ejabberd_commands.function,
|
||||
?DEBUG("Executing command ~p:~p with Args=~p", [Module, Function, Arguments]),
|
||||
apply(Module, Function, Arguments).
|
||||
|
||||
%% @spec () -> [{Tag::string(), [CommandName::string()]}]
|
||||
|
|
Loading…
Reference in New Issue
Block a user