summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_spanningtree/encap.cpp8
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 &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]);
}
}