summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-06 21:57:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-06 21:57:03 +0000
commitac61fa4ac989c727740786a7e6f4bb3662134800 (patch)
treeb84c9bd08cc3d0d9a7f8f068ba2e76489d8494cd /src
parent67445d0e66bb04e26e25a381510f2114a24a089f (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/opertype.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/opertype.cpp b/src/modules/m_spanningtree/opertype.cpp
index 86c637bbf..7afa44ae1 100644
--- a/src/modules/m_spanningtree/opertype.cpp
+++ b/src/modules/m_spanningtree/opertype.cpp
@@ -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;