Navigation Menu

Skip to content

Commit

Permalink
Backport r11224, which fixes issues with /lusers oper counts and /who…
Browse files Browse the repository at this point in the history
… * o (and perhaps other things) when opers are introduced during bursts.

git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11226 e03df62e-2008-0410-955e-edbf42e46eb7
  • Loading branch information
dz committed Mar 15, 2009
1 parent 8d0c69d commit 5d3de8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/m_spanningtree/treesocket2.cpp
Expand Up @@ -241,7 +241,7 @@ bool TreeSocket::OperType(const std::string &prefix, std::deque<std::string> &pa
userrec* u = this->Instance->FindNick(prefix);
if (u)
{
if (!u->IsModeSet('o'))
if (!IS_OPER(u))
this->Instance->all_opers.push_back(u);
u->modes[UM_OPERATOR] = 1;
strlcpy(u->oper,opertype.c_str(),NICKMAX-1);
Expand Down

0 comments on commit 5d3de8b

Please sign in to comment.