#1104 Whitelist sensitive commands also when used with "authme:" prefix

This commit is contained in:
ljacqu
2017-02-21 22:51:45 +01:00
parent ee51bb3971
commit 4edb4e68c2
4 changed files with 40 additions and 18 deletions
@@ -42,7 +42,7 @@ public final class StringUtils {
*
* @return True if the string contains at least one of the items
*/
public static boolean containsAny(String str, String... pieces) {
public static boolean containsAny(String str, Iterable<String> pieces) {
if (str == null) {
return false;
}