diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree/treesocket2.cpp | 2 |
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); |