]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix remote opers not being added to all_opers.
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 6 Jan 2007 22:57:40 +0000 (22:57 +0000)
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 6 Jan 2007 22:57:40 +0000 (22:57 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6238 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree.cpp

index 0bf0289ad040c174a7fbee7df969f439d755fcda..623a626228388ad6ab1d4c86c9ae7868e8b636f4 100644 (file)
@@ -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()));