diff options
author | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-09-27 00:11:25 +0000 |
---|---|---|
committer | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-09-27 00:11:25 +0000 |
commit | 6304c3747312e70d670f70b1dfda0ba10870c3bc (patch) | |
tree | 0d4f5b3cf3eeed113f885158eb0d5d0050903a3d | |
parent | 2be86e1958ca8de8aaad54f75a8d6afec59d49af (diff) |
Forgot part of the fix for bug #404
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8086 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_spanningtree/treesocket2.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp index 579276b54..0b6be93f5 100644 --- a/src/modules/m_spanningtree/treesocket2.cpp +++ b/src/modules/m_spanningtree/treesocket2.cpp @@ -237,8 +237,9 @@ bool TreeSocket::OperType(const std::string &prefix, std::deque<std::string> &pa userrec* u = this->Instance->FindNick(prefix); if (u) { + if (!u->IsModeSet('o')) + this->Instance->all_opers.push_back(u); u->modes[UM_OPERATOR] = 1; - this->Instance->all_opers.push_back(u); strlcpy(u->oper,opertype.c_str(),NICKMAX-1); Utils->DoOneToAllButSender(u->nick,"OPERTYPE",params,u->server); |