]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/fjoin.cpp
Fix various rline bugs, implement /stats R, and fix the issue where you get no error...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / fjoin.cpp
index 4ef8d2d4f8a7726804fd205975b503c317893c3a..b891443ea1d1404a0606f83d1c2e3afe3c83e989 100644 (file)
@@ -73,7 +73,7 @@ bool TreeSocket::ForceJoin(const std::string &source, std::deque<std::string> &p
 
        if (params.size() > 3)
                params[params.size() - 1] = ":" + params[params.size() - 1];
-               
+
        Utils->DoOneToAllButSender(source,"FJOIN",params,source);
 
        if (!TS)
@@ -151,7 +151,7 @@ bool TreeSocket::ForceJoin(const std::string &source, std::deque<std::string> &p
 
                        /* Advance past the comma, to the nick */
                        usr++;
-                       
+
                        /* Check the user actually exists */
                        who = this->Instance->FindUUID(usr);
                        if (who)
@@ -206,7 +206,7 @@ bool TreeSocket::RemoveStatus(const std::string &prefix, std::deque<std::string>
 
        if (c)
        {
-               irc::modestacker stack(false);
+               irc::modestacker stack(Instance, false);
                std::deque<std::string> stackresult;
                std::vector<std::string> mode_junk;
                mode_junk.push_back(c->name);
@@ -233,4 +233,4 @@ bool TreeSocket::RemoveStatus(const std::string &prefix, std::deque<std::string>
        }
        return true;
 }
+