diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-01-24 02:44:49 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-01-24 02:44:49 +0000 |
commit | 18f75b32d5d4b456496e65c3d472567bc02e6e17 (patch) | |
tree | 887df2c719ab62829bb5cbfb0c133ab14ffd030f /src | |
parent | 998304694552a2294018f2dd5a2babd4bdc023b4 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree/encap.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
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]); } } |