- user->WriteServ( "NOTICE %s :*** The user %s is not on channel %s", user->nick, target->nick, channel->name);
- return;
- }
-
- /* This is adding support for the +q and +a channel modes, basically if they are enabled, and the remover has them set.
- * Then we change the @|%|+ to & if they are +a, or ~ if they are +q */
- protectkey = "cm_protect_" + std::string(channel->name);
- founderkey = "cm_founder_" + std::string(channel->name);
-
- if (is_uline(user->server) || is_uline(user->nick))
- {
- log(DEBUG, "Setting ulevel to U");
- ulevel = chartolevel("U");
- }
- if (user->GetExt(founderkey))
- {
- log(DEBUG, "Setting ulevel to ~");
- ulevel = chartolevel("~");
- }
- else if (user->GetExt(protectkey))
- {
- log(DEBUG, "Setting ulevel to &");
- ulevel = chartolevel("&");
+ user->WriteNotice(InspIRCd::Format("*** The user %s is not on channel %s", target->nick.c_str(), channel->name.c_str()));
+ return CMD_FAILURE;