diff options
| author | 2014-09-10 15:03:21 +0200 | |
|---|---|---|
| committer | 2014-09-10 15:03:21 +0200 | |
| commit | 6890d6aef73ce11bf8f5f8bd8d36dba824743a96 (patch) | |
| tree | 28f42295f27578d29283997d567b3613e0b97fb7 /src/mode.cpp | |
| parent | m_hidelist Make minimum rank required to view lists configurable (diff) | |
| download | inspircd++-6890d6aef73ce11bf8f5f8bd8d36dba824743a96.tar.gz inspircd++-6890d6aef73ce11bf8f5f8bd8d36dba824743a96.tar.bz2 inspircd++-6890d6aef73ce11bf8f5f8bd8d36dba824743a96.zip | |
Remove listmode hiding support from the core
This is now handled by m_hidelist
Diffstat (limited to 'src/mode.cpp')
| -rw-r--r-- | src/mode.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index c70f474f7..0d3de3890 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -493,14 +493,7 @@ void ModeParser::ShowListModeList(User* user, Channel* chan, ModeHandler* mh) if (MOD_RESULT == MOD_RES_DENY) return; - unsigned char mletter = mh->GetModeChar(); bool display = true; - if (!user->HasPrivPermission("channels/auspex") && ServerInstance->Config->HideModeLists[mletter] && (chan->GetPrefixValue(user) < HALFOP_VALUE)) - { - user->WriteNumeric(ERR_CHANOPRIVSNEEDED, "%s :You do not have access to view the +%c list", - chan->name.c_str(), mletter); - display = false; - } // Ask mode watchers whether it's OK to show the list std::pair<ModeWatchIter, ModeWatchIter> itpair = modewatchermap.equal_range(mh->name); |
