From 8ca336da065487527d78599efeb9698f58a27c36 Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Wed, 11 Aug 2010 16:27:09 -0400 Subject: Also tidy masks being removed, fixes bug #70 --- src/modules/u_listmode.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/modules/u_listmode.h b/src/modules/u_listmode.h index 62093fdd4..a79828403 100644 --- a/src/modules/u_listmode.h +++ b/src/modules/u_listmode.h @@ -222,6 +222,9 @@ class ListModeBase : public ModeHandler // Try and grab the list modelist* el = extItem.get(channel); + if (this->tidy) + ModeParser::CleanMask(parameter); + if (adding) { // If there was no list @@ -232,10 +235,6 @@ class ListModeBase : public ModeHandler extItem.set(channel, el); } - // Clean the mask up - if (this->tidy) - ModeParser::CleanMask(parameter); - // Check if the item already exists in the list for (modelist::iterator it = el->begin(); it != el->end(); it++) { -- cgit v1.2.3