- user->WriteNumeric(960, "%s %s :End of mode list", user->nick.c_str(), channel->name.c_str());
+ ServerInstance->Modes->ProcessSingle(src, chan, NULL, modes, ModeParser::MODE_CHECKACCESS);
+ return CMD_SUCCESS;
+ }
+};
+
+class DummyZ : public ModeHandler
+{
+ public:
+ DummyZ(Module* parent) : ModeHandler(parent, "namebase", 'Z', PARAM_ALWAYS, MODETYPE_CHANNEL)
+ {
+ list = true;
+ }
+
+ // Handle /MODE #chan Z
+ void DisplayList(User* user, Channel* chan) CXX11_OVERRIDE
+ {
+ if (IS_LOCAL(user))
+ ::DisplayList(static_cast<LocalUser*>(user), chan);