+ if (modename.empty())
+ throw ModuleException("Empty <hidelist:mode> at " + tag->getTagLocation());
+ // If rank is set to 0 everyone inside the channel can view the list,
+ // but non-members may not
+ unsigned int rank = tag->getUInt("rank", HALFOP_VALUE);
+ newconfigs.push_back(std::make_pair(modename, rank));