mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 06:53:42 +00:00
Prefix test was incorrect.
This commit is contained in:
parent
aac48cb58f
commit
ea8f09dbf3
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ bool CDMRAccessControl::validateId(unsigned int id)
|
|||
|
||||
if (!m_prefixes.empty()) {
|
||||
bool ret = std::find(m_prefixes.begin(), m_prefixes.end(), prefix) == m_prefixes.end();
|
||||
if (!ret)
|
||||
if (ret)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue