summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-04-09 00:34:05 +0100
committerSadie Powell <sadie@witchery.services>2020-04-09 00:34:05 +0100
commitab564db05edb1c736657c0087bfb167889ba0341 (patch)
tree16f7873a5df4e228ee7e40fbfe2ede8c074561de /src/modules/m_spanningtree
parent0e7e1ea3935e48a5093be4ccf2371a344f30bba0 (diff)
More HasFd() conversions.
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/treesocket2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp
index 06c547ac3..6b1ca21d0 100644
--- a/src/modules/m_spanningtree/treesocket2.cpp
+++ b/src/modules/m_spanningtree/treesocket2.cpp
@@ -407,7 +407,7 @@ void TreeSocket::OnTimeout()
void TreeSocket::Close()
{
- if (fd < 0)
+ if (!HasFd())
return;
ServerInstance->GlobalCulls.AddItem(this);