return 0;
}
- if(strchr(reason, ':') != NULL)
- {
- sendto_one_notice(source_p, ":Invalid character ':' in comment");
- return 0;
- }
-
- if(strchr(reason, '"'))
- {
- sendto_one_notice(source_p, ":Invalid character '\"' in comment");
- return 0;
- }
-
if(!valid_wild_card_simple(gecos))
{
sendto_one_notice(source_p,
void
apply_xline(struct Client *source_p, const char *name, const char *reason, int temp_time, int propagated)
{
- rb_dlink_node *ptr;
struct ConfItem *aconf;
aconf = make_conf();
deactivate_conf(aconf, ptr);
return;
}
- else if(MyClient(source_p) && rb_dlink_list_length(&cluster_conf_list))
+ else if(propagated && rb_dlink_list_length(&cluster_conf_list))
cluster_generic(source_p, "UNXLINE", SHARED_UNXLINE, CAP_CLUSTER, "%s", name);
if(!aconf->hold)
{
}
}
- if(MyClient(source_p) && rb_dlink_list_length(&cluster_conf_list))
+ if(propagated && rb_dlink_list_length(&cluster_conf_list))
cluster_generic(source_p, "UNXLINE", SHARED_UNXLINE, CAP_CLUSTER, "%s", name);
sendto_one_notice(source_p, ":No X-Line for %s", name);