]> granicus.if.org Git - ejabberd/commitdiff
If a command is already defined: log as Debug, not as Warning.
authorBadlop <badlop@process-one.net>
Thu, 16 Jul 2009 20:18:19 +0000 (20:18 +0000)
committerBadlop <badlop@process-one.net>
Thu, 16 Jul 2009 20:18:19 +0000 (20:18 +0000)
SVN Revision: 2362

src/ejabberd_commands.erl

index 3a94712fe7705b28c16358d768d050d833462c7a..adfd125525ee38b8dded8d7d8df07aabce0079e8 100644 (file)
@@ -238,7 +238,7 @@ register_commands(Commands) ->
                  true ->
                      ok;
                  false ->
-                     ?WARNING_MSG("This command is already defined:~n~p", [Command])
+                     ?DEBUG("This command is already defined:~n~p", [Command])
              end
       end,
       Commands).