From aa383e7efdb36779f5f968226a6d0762ba9ca75d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 25 Jan 2025 12:14:57 +0000 Subject: [PATCH] When removing a list mode update the parameter to the actual entry. --- src/listmode.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/listmode.cpp b/src/listmode.cpp index 5aa58b2e5..b0fbd922b 100644 --- a/src/listmode.cpp +++ b/src/listmode.cpp @@ -210,6 +210,7 @@ bool ListModeBase::OnModeChange(User* source, User*, Channel* channel, Modes::Ch if (!CompareEntry(it->mask, change.param)) continue; // Doesn't match the proposed removal. + change.param = it->mask; stdalgo::vector::swaperase(cd->list, it); return true; }