From: Jilles Tjoelker Date: Sat, 27 Mar 2010 15:09:26 +0000 (+0100) Subject: XLINE: Do not cluster unxlines ON specific servers. X-Git-Url: https://jfr.im/git/solanum.git/commitdiff_plain/1b5d7c2e8aec5f9bbcf11221c80a7bbf1ceb9b0e?hp=a812a239c8d9ed2c58a6b948e552655961ea7233 XLINE: Do not cluster unxlines ON specific servers. This bug was introduced with BAN support for XLINE. --- diff --git a/modules/m_xline.c b/modules/m_xline.c index 315a686f..d1975ecd 100644 --- a/modules/m_xline.c +++ b/modules/m_xline.c @@ -523,7 +523,7 @@ remove_xline(struct Client *source_p, const char *name, int propagated) 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) { @@ -551,7 +551,7 @@ remove_xline(struct Client *source_p, const char *name, int propagated) } } - 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);