diff options
| author | 2022-03-27 15:30:41 +0100 | |
|---|---|---|
| committer | 2022-03-27 15:30:41 +0100 | |
| commit | f06ea52d0ab08db213b2c2fd81a4dee95910af16 (patch) | |
| tree | 1d91cc063670e5458ac4124ce1705db74734102b /src/modules/m_customprefix.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
| parent | Add support for matching against geolocation data with WHO. (diff) | |
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_customprefix.cpp')
| -rw-r--r-- | src/modules/m_customprefix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_customprefix.cpp b/src/modules/m_customprefix.cpp index fb2b58bd3..74abde099 100644 --- a/src/modules/m_customprefix.cpp +++ b/src/modules/m_customprefix.cpp @@ -32,7 +32,7 @@ public: : PrefixMode(parent, Name, Letter, 0, Prefix) , tag(Tag) { - unsigned int rank = static_cast<unsigned int>(tag->getUInt("rank", 0, 0, UINT_MAX)); + unsigned int rank = static_cast<unsigned int>(tag->getUInt("rank", 1, 1, UINT_MAX)); unsigned int setrank = static_cast<unsigned int>(tag->getUInt("ranktoset", prefixrank, rank, UINT_MAX)); unsigned int unsetrank = static_cast<unsigned int>(tag->getUInt("ranktounset", setrank, setrank, UINT_MAX)); bool depriv = tag->getBool("depriv", true); |
