diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree/opertype.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/opertype.cpp b/src/modules/m_spanningtree/opertype.cpp index 27cb8bde4..18f3a6f9c 100644 --- a/src/modules/m_spanningtree/opertype.cpp +++ b/src/modules/m_spanningtree/opertype.cpp @@ -32,7 +32,7 @@ bool TreeSocket::OperType(const std::string &prefix, std::deque<std::string> &pa User* u = this->ServerInstance->FindNick(prefix); if (u) { - if (!u->IsModeSet('o')) + if (!IS_OPER(u)) this->ServerInstance->Users->all_opers.push_back(u); u->modes[UM_OPERATOR] = 1; u->oper.assign(opertype, 0, 512); |