aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 1f3307109..ad12f8619 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -708,7 +708,7 @@ void LocalUser::ChangeRemoteAddress(const irc::sockets::sockaddrs& sa)
void LocalUser::Write(const ClientProtocol::SerializedMessage& text)
{
- if (!SocketEngine::BoundsCheckFd(&eh))
+ if (!eh.HasFd())
return;
if (ServerInstance->Config->RawLog)