]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/encap.cpp
Add DYING link state, push error messages on link, and only limit recvq on unauthenti...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / encap.cpp
index e854df2f4740a3f7d0e90756408c40ac236600c7..9770ec84ead0276bcbebb5a5a205b5fbc2453e32 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
  * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
 #include "treeserver.h"
 #include "utils.h"
 
-/* $ModDep: m_spanningtree/utils.h m_spanningtree/treeserver.h m_spanningtree/treesocket.h */
-
-
-
 /** ENCAP */
 void TreeSocket::Encap(User* who, parameterlist &params)
 {
@@ -38,10 +34,10 @@ void TreeSocket::Encap(User* who, parameterlist &params)
 
                if (params[0].find('*') != std::string::npos)
                {
-                       Utils->DoOneToAllButSender(who->server, "ENCAP", params, who->server);
+                       Utils->DoOneToAllButSender(who->uuid, "ENCAP", params, who->server);
                }
                else
-                       Utils->DoOneToOne(who->server, "ENCAP", params, params[0]);
+                       Utils->DoOneToOne(who->uuid, "ENCAP", params, params[0]);
        }
 }