]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/operquit.cpp
Fixes found by removing User inheritance from StreamSocket
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / operquit.cpp
index 5cdee3bc6f7d647136f04797a8576c5c6b581203..faf150be767508932f7b46aa22b62bcefd554c4a 100644 (file)
@@ -26,11 +26,11 @@ bool TreeSocket::OperQuit(const std::string &prefix, parameterlist &params)
        if (params.size() < 1)
                return true;
 
-       User* u = this->ServerInstance->FindNick(prefix);
+       User* u = ServerInstance->FindNick(prefix);
 
        if (u)
        {
-               User::OperQuit.set(u, params[0]);
+               ServerInstance->OperQuit.set(u, params[0]);
                params[0] = ":" + params[0];
                Utils->DoOneToAllButSender(prefix,"OPERQUIT",params,prefix);
        }