+ /* Redirect everyone but the oper sending the command */
+ const UserManager::LocalList& list = ServerInstance->Users.GetLocalUsers();
+ for (UserManager::LocalList::const_iterator i = list.begin(); i != list.end(); )
+ {
+ // Quitting the user removes it from the list
+ LocalUser* t = *i;
+ ++i;
+ if (!t->IsOper())
+ {
+ t->WriteNumeric(RPL_REDIR, parameters[0], GetPort(t), "Please use this Server/Port instead");
+ ServerInstance->Users->QuitUser(t, reason);
+ n_done++;
+ }
+ }
+ if (n_done)
+ {
+ n_done_s = ConvToStr(n_done);
+ }