diff options
| author | 2025-01-25 12:14:57 +0000 | |
|---|---|---|
| committer | 2025-01-25 12:14:57 +0000 | |
| commit | aa383e7efdb36779f5f968226a6d0762ba9ca75d (patch) | |
| tree | fdfedd30dbd73562959c5da5395add6cafff5188 /src/listmode.cpp | |
| parent | Fix unsetting bans that look like extbans but aren't. (diff) | |
When removing a list mode update the parameter to the actual entry.
Diffstat (limited to 'src/listmode.cpp')
| -rw-r--r-- | src/listmode.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |
