From: Holger Weiss Date: Mon, 28 Apr 2014 23:11:08 +0000 (+0200) Subject: Let ejabberdctl accept binary string arguments X-Git-Tag: 14.05~50^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d09c268b2097e5b8177a642c07b020a155ceb125;p=ejabberd 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." --- 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).