X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_hidelist.cpp;h=2d3f0be7c4b5b3c4bd6947459f448b3b812f5659;hb=780dda83ba3857bc3c330d4b5d38bb251a9d879b;hp=0691ab81c0d7a9d124baae6d5a0171f6e5308a35;hpb=2d36fcb16ef3209fffbe9f4b600971a1edd2ae4b;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_hidelist.cpp b/src/modules/m_hidelist.cpp index 0691ab81c..2d3f0be7c 100644 --- a/src/modules/m_hidelist.cpp +++ b/src/modules/m_hidelist.cpp @@ -68,7 +68,7 @@ class ModuleHideList : public Module std::string modename = tag->getString("mode"); // If rank is set to 0 everyone inside the channel can view the list, // but non-members may not - unsigned int rank = tag->getInt("rank", HALFOP_VALUE, 0); + unsigned int rank = tag->getUInt("rank", HALFOP_VALUE); watchers.push_back(new ListWatcher(this, modename, rank)); } }