25
1
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:
Mickaël Rémond 2009-10-08 17:22:48 +00:00
parent 4039f4a14f
commit c79489fb65

View File

@ -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()]}]