From: peavey Date: Sat, 6 Jan 2007 22:57:40 +0000 (+0000) Subject: Fix remote opers not being added to all_opers. X-Git-Tag: v2.0.23~6148 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=41f946c9d05a790a57bbc5ffc2f04c4a8be9a17b;hp=95c54749e10802d8e81479aea5b1bc31d0af3b4d;p=user%2Fhenk%2Fcode%2Finspircd.git Fix remote opers not being added to all_opers. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6238 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 0bf0289ad..623a62622 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -2367,6 +2367,7 @@ class TreeSocket : public InspSocket if (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); this->Instance->SNO->WriteToSnoMask('o',"From %s: User %s (%s@%s) is now an IRC operator of type %s",u->server, u->nick,u->ident,u->host,irc::Spacify(opertype.c_str()));