24
1
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:
Badlop 2009-10-09 12:01:43 +00:00
parent 503defac73
commit 13a231f6fa

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