summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_ssl_openssl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_ssl_openssl.cpp')
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp
index 4beefae10..8243b4f0a 100644
--- a/src/modules/extra/m_ssl_openssl.cpp
+++ b/src/modules/extra/m_ssl_openssl.cpp
@@ -798,7 +798,7 @@ class ModuleSSLOpenSSL : public Module
virtual void OnBufferFlushed(User* user)
{
- if (user->GetIOHook() == this)
+ if (user->GetIOHook() == this && user->GetExt("ssl"))
{
issl_session* session = &sessions[user->GetFd()];
if (session && session->outbuf.size())