diff options
Diffstat (limited to 'modules/m_kline.c')
-rw-r--r-- | modules/m_kline.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/m_kline.c b/modules/m_kline.c index 4b9e573..05fd865 100644 --- a/modules/m_kline.c +++ b/modules/m_kline.c @@ -105,7 +105,7 @@ mo_kline(struct Client *client_p, struct Client *source_p, user, host, reason); /* Allow ON to apply local kline as well if it matches */ - if (!match(target_server, me.name)) + if (match(target_server, me.name)) return; } else @@ -146,7 +146,7 @@ me_kline(struct Client *client_p, struct Client *source_p, if (parc != 6 || EmptyString(parv[5])) return; - if (!match(parv[1], me.name)) + if (match(parv[1], me.name)) return; tkline_time = valid_tkline(parv[2], TK_SECONDS); @@ -332,7 +332,7 @@ mo_unkline(struct Client *client_p,struct Client *source_p, target_server, user, host); /* Allow ON to apply local unkline as well if it matches */ - if (!match(target_server, me.name)) + if (match(target_server, me.name)) return; } else @@ -377,7 +377,7 @@ me_unkline(struct Client *client_p, struct Client *source_p, kuser = parv[2]; khost = parv[3]; - if (!IsClient(source_p) || !match(parv[1], me.name)) + if (!IsClient(source_p) || match(parv[1], me.name)) return; if (HasFlag(source_p, FLAGS_SERVICE) || find_matching_name_conf(CONF_ULINE, |