]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/treeserver.cpp
m_spanningtree Throw an exception on protocol violations instead of returning CMD_INVALID
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / treeserver.cpp
index b51c21db65dacd3ef80d2e8bae6ad8833222bf25..3d57b1314f15ff15a3be5d3b6b1159b9bbc66339 100644 (file)
@@ -144,7 +144,7 @@ int TreeServer::QuitUsers(const std::string &reason)
 {
        std::string publicreason = ServerInstance->Config->HideSplits ? "*.net *.split" : reason;
 
-       const user_hash& users = *ServerInstance->Users->clientlist;
+       const user_hash& users = ServerInstance->Users->GetUsers();
        unsigned int original_size = users.size();
        for (user_hash::const_iterator i = users.begin(); i != users.end(); )
        {