diff options
| author | 2010-02-09 05:35:19 +0000 | |
|---|---|---|
| committer | 2010-02-09 05:35:19 +0000 | |
| commit | 4aeda51771f6fcc2b0d548fa33394af59038aedd (patch) | |
| tree | 914fb2d77b25f913bf2ed4541b7463152931e75d /src/users.cpp | |
| parent | This module isn't supposed to be part of 2.0; it will be third-party until 2.1 (diff) | |
| download | inspircd++-4aeda51771f6fcc2b0d548fa33394af59038aedd.tar.gz inspircd++-4aeda51771f6fcc2b0d548fa33394af59038aedd.tar.bz2 inspircd++-4aeda51771f6fcc2b0d548fa33394af59038aedd.zip | |
Clean up documentation of connect blocks a bit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12410 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp index c01b5d1b2..62bf0f543 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1646,6 +1646,10 @@ void LocalUser::SetClass(const std::string &explicit_name) continue; } + bool regdone = (registered != REG_NONE); + if (c->config->getBool("registered", regdone) != regdone) + continue; + /* we stop at the first class that meets ALL critera. */ found = c; break; |
