+ switch (ntype)
+ {
+ case CONF_KILL:
+ valid = valid_wild_card(aconf->user, aconf->host);
+ break;
+ case CONF_RESV_CHANNEL:
+ valid = 1;
+ break;
+ default:
+ valid = valid_wild_card_simple(aconf->host);
+ break;
+ }
+ if (act && hold != created && !valid)
+ {
+ sendto_realops_snomask(SNO_GENERAL, L_ALL,
+ "Ignoring global %d min. %s from %s%s%s for [%s%s%s]: too few non-wildcard characters",
+ (int)((hold - rb_current_time()) / 60),
+ stype,
+ IsServer(source_p) ? source_p->name : get_oper_name(source_p),
+ strcmp(parv[7], "*") ? " on behalf of " : "",
+ strcmp(parv[7], "*") ? parv[7] : "",
+ aconf->user ? aconf->user : "",
+ aconf->user ? "@" : "",
+ aconf->host);
+ if(IsPerson(source_p))
+ sendto_one_notice(source_p,
+ ":Your %s [%s%s%s] has too few non-wildcard characters",
+ stype,
+ aconf->user ? aconf->user : "",
+ aconf->user ? "@" : "",
+ aconf->host);
+ /* Propagate it, but do not apply it locally. */
+ }
+ else if (act && hold != created)