]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/fhost.cpp
Addendum to previous ping patch: NextPingTime was not being set at endburst, and...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / fhost.cpp
index 09b660ac87ccc29b7153490972bf5420b16a53f7..3337a9cbaaca7acc2e9992ce99d385ff241979ac 100644 (file)
@@ -2,8 +2,8 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
@@ -25,7 +25,7 @@ bool TreeSocket::ChangeHost(const std::string &prefix, std::deque<std::string> &
 {
        if (params.size() < 1)
                return true;
-       User* u = this->Instance->FindNick(prefix);
+       User* u = this->ServerInstance->FindNick(prefix);
 
        if (u)
        {