From 41a0acc7b6fa707534b449e6a3866f5a55c8e708 Mon Sep 17 00:00:00 2001 From: Geo Date: Wed, 10 Jul 2024 10:38:21 -0400 Subject: [PATCH] Fix accidentally removed hostmask from #1585 --- src/mod/irc.mod/chan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/irc.mod/chan.c b/src/mod/irc.mod/chan.c index 9124d428c..7899eed6e 100644 --- a/src/mod/irc.mod/chan.c +++ b/src/mod/irc.mod/chan.c @@ -429,6 +429,7 @@ static void kick_all(struct chanset_t *chan, char *hostmask, char *comment, flushed = 0; kicknick[0] = 0; for (m = chan->channel.member; m && m->nick[0]; m = m->next) { + sprintf(s, "%s!%s", m->nick, m->userhost); get_user_flagrec(get_user_from_member(m), &fr, chan->dname); if ((me_op(chan) || (me_halfop(chan) && !chan_hasop(m))) && match_addr(hostmask, s) && !chan_sentkick(m) &&