From 18f75b32d5d4b456496e65c3d472567bc02e6e17 Mon Sep 17 00:00:00 2001 From: danieldg Date: Sun, 24 Jan 2010 02:44:49 +0000 Subject: Use UID/SID as the source for ENCAP commands, not server name git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12321 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/encap.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/modules/m_spanningtree/encap.cpp b/src/modules/m_spanningtree/encap.cpp index 9d1680155..9770ec84e 100644 --- a/src/modules/m_spanningtree/encap.cpp +++ b/src/modules/m_spanningtree/encap.cpp @@ -18,10 +18,6 @@ #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 ¶ms) { @@ -38,10 +34,10 @@ void TreeSocket::Encap(User* who, parameterlist ¶ms) 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]); } } -- cgit v1.2.3