]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/treeserver.cpp
Improve support for wildcards in <link:name>.
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / treeserver.cpp
index be8660e424c3ce1d6adfd13375fdf04c490d1af0..65e0a2c4d914cec87cfa9228b541d6a3349f419c 100644 (file)
@@ -37,6 +37,7 @@ TreeServer::TreeServer()
        , Parent(NULL), Route(NULL)
        , VersionString(ServerInstance->GetVersionString())
        , fullversion(ServerInstance->GetVersionString(true))
+       , rawversion(INSPIRCD_VERSION)
        , Socket(NULL), sid(ServerInstance->Config->GetSID()), behind_bursting(0), isdead(false)
        , pingtimer(this)
        , ServerUser(ServerInstance->FakeClient)
@@ -211,7 +212,7 @@ void TreeServer::SQuitInternal(unsigned int& num_lost_servers)
 
 unsigned int TreeServer::QuitUsers(const std::string& reason)
 {
-       std::string publicreason = ServerInstance->Config->HideSplits ? "*.net *.split" : reason;
+       std::string publicreason = Utils->HideSplits ? "*.net *.split" : reason;
 
        const user_hash& users = ServerInstance->Users->GetUsers();
        unsigned int original_size = users.size();