summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/modules.cpp')
-rw-r--r--src/modules/m_spanningtree/modules.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/modules.cpp b/src/modules/m_spanningtree/modules.cpp
index 6c9132794..7a20a98ff 100644
--- a/src/modules/m_spanningtree/modules.cpp
+++ b/src/modules/m_spanningtree/modules.cpp
@@ -26,7 +26,7 @@ bool TreeSocket::Modules(const std::string &prefix, parameterlist &params)
if (params.empty())
return true;
- if (!InspIRCd::Match(this->ServerInstance->Config->ServerName, params[0]))
+ if (!InspIRCd::Match(ServerInstance->Config->ServerName, params[0]))
{
/* Pass it on, not for us */
Utils->DoOneToOne(prefix, "MODULES", params, params[0]);
@@ -38,7 +38,7 @@ bool TreeSocket::Modules(const std::string &prefix, parameterlist &params)
par.push_back(prefix);
par.push_back("");
- User* source = this->ServerInstance->FindNick(prefix);
+ User* source = ServerInstance->FindNick(prefix);
if (!source)
return true;