Fix bug where OPERTYPE does not propogate more than one server in distance due to it being propogated with a nick prefix.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9391 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2008-04-06 21:57:03 +00:00
parent 67445d0e66
commit ac61fa4ac9

View File

@ -36,7 +36,7 @@ bool TreeSocket::OperType(const std::string &prefix, std::deque<std::string> &pa
this->Instance->Users->all_opers.push_back(u);
u->modes[UM_OPERATOR] = 1;
strlcpy(u->oper,opertype.c_str(),NICKMAX-1);
Utils->DoOneToAllButSender(u->nick,"OPERTYPE",params,u->server);
Utils->DoOneToAllButSender(u->uuid,"OPERTYPE",params,u->server);
TreeServer* remoteserver = Utils->FindServer(u->server);
bool dosend = true;