+ user->WriteServ("NOTICE %s :*** Invalid port number", user->nick.c_str());
+ return CMD_FAILURE;
+ }
+
+ if (redirect_all_immediately)
+ {
+ /* Redirect everyone but the oper sending the command */
+ for (std::vector<LocalUser*>::const_iterator i = ServerInstance->Users->local_users.begin(); i != ServerInstance->Users->local_users.end(); i++)
+ {
+ User* t = *i;
+ if (!IS_OPER(t))
+ {
+ t->WriteNumeric(10, "%s %s %s :Please use this Server/Port instead", user->nick.c_str(), parameters[0].c_str(), parameters[1].c_str());
+ ServerInstance->Users->QuitUser(t, reason);
+ n_done++;
+ }
+ }
+ if (n_done)