private boolean containsLink(String message, Channel ch) {
        String[] splitMessage = message.toLowerCase().split(" ");
        for (String m : splitMessage) {
            for (Pattern pattern : linkPatterns) {
                //System.out.println("Checking " + m + " against " + pattern.pattern());
                Matcher match = pattern.matcher(m);
                if (match.matches()) {
                    log("Link match on " + pattern.pattern());
                    if (ch.checkPermittedDomain(m))
                        return false;
                    else
                        return true;
                }
            }
        }
        return false;
    }