summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/users.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 608d5f728..1362b5ce9 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1765,8 +1765,9 @@ ConnectClass* User::SetClass(const std::string &explicit_name)
}
}
- /* we match this class, BUT! we must keep checking in case a further class is type deny and also matches us. */
+ /* we stop at the first class that meets ALL critera. */
found = c;
+ break;
}
}