From d09c268b2097e5b8177a642c07b020a155ceb125 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 29 Apr 2014 01:11:08 +0200 Subject: [PATCH] Let ejabberdctl accept binary string arguments Don't print the following message if an ejabberd command expects binary string arguments: "This command cannot be executed using ejabberdctl. Try ejabberd_xmlrpc." --- src/ejabberd_ctl.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ejabberd_ctl.erl b/src/ejabberd_ctl.erl index d8d067640..eda1c4970 100644 --- a/src/ejabberd_ctl.erl +++ b/src/ejabberd_ctl.erl @@ -418,6 +418,7 @@ is_supported_args(Args) -> fun({_Name, Format}) -> (Format == integer) or (Format == string) + or (Format == binary) end, Args).