]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/svspart.cpp
Update m_cloaking to use free-form keys instead of weakening the hash IV
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / svspart.cpp
index 83e329b4e46fef0b0a1cd6ce093320df92f29f43..cc49aa72e0020aeeccdc50e51888ae7f1aa40517 100644 (file)
@@ -14,7 +14,6 @@
 #include "inspircd.h"
 #include "socket.h"
 #include "xline.h"
-#include "../transport.h"
 #include "socketengine.h"
 
 #include "main.h"
@@ -34,8 +33,8 @@ bool TreeSocket::ServicePart(const std::string &prefix, parameterlist &params)
        if (params.size() == 3)
                reason = params[2];
 
-       User* u = this->ServerInstance->FindNick(params[0]);
-       Channel* c = this->ServerInstance->FindChan(params[1]);
+       User* u = ServerInstance->FindNick(params[0]);
+       Channel* c = ServerInstance->FindChan(params[1]);
 
        if (u)
        {