summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/override_stats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/override_stats.cpp')
-rw-r--r--src/modules/m_spanningtree/override_stats.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/override_stats.cpp b/src/modules/m_spanningtree/override_stats.cpp
index 9986763d9..5d0239f84 100644
--- a/src/modules/m_spanningtree/override_stats.cpp
+++ b/src/modules/m_spanningtree/override_stats.cpp
@@ -78,8 +78,8 @@ ModResult ModuleSpanningTree::OnStats(char statschar, User* user, string_list &r
ip = "*";
std::string transport("plaintext");
- if (Utils->Bindings[i]->GetIOHook())
- transport = BufferedSocketNameRequest(this, Utils->Bindings[i]->GetIOHook()).Send();
+ if (Utils->Bindings[i]->Hook)
+ transport = BufferedSocketNameRequest(this, Utils->Bindings[i]->Hook).Send();
results.push_back(ConvToStr(ServerInstance->Config->ServerName) + " 249 "+user->nick+" :" + ip + ":" + ConvToStr(Utils->Bindings[i]->GetPort())+
" (server, " + transport + ")");