]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/fjoin.cpp
Allow the maximum length of a chanfilter message to be configured.
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / fjoin.cpp
index 42be7e7813f930e903518a78e7cb5c3e1fca3152..c292373b3de455be754ab025e8f6c79dfe94a66a 100644 (file)
@@ -85,7 +85,7 @@ CmdResult CommandFJoin::Handle(User* srcuser, std::vector<std::string>& params)
         * drop the link to avoid desync.
         *
         * InspIRCd 2.0 and older required a comma before the uuid even if the user
-        * had no prefix modes on the channel, InspIRCd 2.2 and later does not require
+        * had no prefix modes on the channel, InspIRCd 3.0 and later does not require
         * a comma in this case anymore.
         *
         * <membid> is a positive integer representing the id of the membership.
@@ -188,7 +188,7 @@ CmdResult CommandFJoin::Handle(User* srcuser, std::vector<std::string>& params)
        }
 
        fwdfjoin.finalize();
-       fwdfjoin.Forward(sourceserver);
+       fwdfjoin.Forward(sourceserver->GetRoute());
 
        // Set prefix modes on their users if we lost the FJOIN or had equal TS
        if (apply_other_sides_modes)