diff options
Diffstat (limited to 'src/s_user.c')
-rw-r--r-- | src/s_user.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/s_user.c b/src/s_user.c index 18bee9a..a7844f0 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -1160,8 +1160,7 @@ check_xline(struct Client *source_p) struct MaskItem *conf = NULL; const char *reason = NULL; - if ((conf = find_matching_name_conf(CONF_XLINE, source_p->info, NULL, NULL, 0)) || - (conf = find_matching_name_conf(CONF_RXLINE, source_p->info, NULL, NULL, 0))) + if ((conf = find_matching_name_conf(CONF_XLINE, source_p->info, NULL, NULL, 0))) { ++conf->count; |