summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 9957f88a6..d24c7fd88 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -2959,7 +2959,7 @@ class TreeSocket : public InspSocket
/* XXX: Fixme: blocks for a very short amount of time,
* we should cache these on rehash/startup
*/
- if (CleanAndResolve(resolved_host,i->IPAddr.c_str(),true))
+ if (CleanAndResolve(resolved_host,i->IPAddr.c_str(),true,1))
{
if (std::string(resolved_host) == ip)
{