]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/svspart.cpp
Quiet bursts for uplinks, suggested by HiroP, thanks!
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / svspart.cpp
index c3bc1b081da4c4436078eb2008c0cdf1e9f8c6e6..477ce6d72da0ce3039ce744d004852281342f173 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
@@ -15,7 +15,6 @@
 #include "commands/cmd_whois.h"
 #include "commands/cmd_stats.h"
 #include "socket.h"
-#include "wildcard.h"
 #include "xline.h"
 #include "transport.h"
 #include "socketengine.h"
@@ -37,8 +36,8 @@ bool TreeSocket::ServicePart(const std::string &prefix, std::deque<std::string>
        if (params.size() == 3)
                reason = params[2];
 
-       User* u = this->Instance->FindNick(params[0]);
-       Channel* c = this->Instance->FindChan(params[1]);
+       User* u = this->ServerInstance->FindNick(params[0]);
+       Channel* c = this->ServerInstance->FindChan(params[1]);
 
        if (u)
        {