Don't disable find by default

This commit is contained in:
md_5 2014-03-30 15:53:57 +11:00
parent f7a5748464
commit 52bf6184c7

View File

@ -102,7 +102,7 @@ public class Configuration implements ProxyConfig
throttle = adapter.getInt( "connection_throttle", throttle );
ipFoward = adapter.getBoolean( "ip_forward", ipFoward );
disabledCommands = new CaseInsensitiveSet( (Collection<String>) adapter.getList( "disabled_commands", Arrays.asList( "find" ) ) );
disabledCommands = new CaseInsensitiveSet( (Collection<String>) adapter.getList( "disabled_commands", Arrays.asList( "disabledcommandhere" ) ) );
Preconditions.checkArgument( listeners != null && !listeners.isEmpty(), "No listeners defined." );