+ /* A module whacked the parameter completely, and there was one. abort. */
+ if (pcnt && parameter.empty())
+ return MODEACTION_DENY;
+ }
- if (!user->HasPrivPermission("channels/auspex"))
- {
- if (ServerInstance->Config->HideModeLists[mletter] && (targetchannel->GetStatus(user) < STATUS_HOP))
- {
- user->WriteNumeric(ERR_CHANOPRIVSNEEDED, "%s %s :Only half-operators and above may view the +%c list",user->nick.c_str(), targetchannel->name.c_str(), *mode++);