summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/core/ns_list.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/ns_list.cpp b/modules/core/ns_list.cpp
index 1f48d2f01..b032543de 100644
--- a/modules/core/ns_list.cpp
+++ b/modules/core/ns_list.cpp
@@ -112,7 +112,7 @@ class CommandNSList : public Command
continue;
else if (suspended && !na->nc->HasFlag(NI_SUSPENDED))
continue;
- else if (unconfirmed && na->nc->HasFlag(NI_UNCONFIRMED))
+ else if (unconfirmed && !na->nc->HasFlag(NI_UNCONFIRMED))
continue;
/* We no longer compare the pattern against the output buffer.