diff options
author | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-23 15:07:08 +0000 |
---|---|---|
committer | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-23 15:07:08 +0000 |
commit | f19e2c85e77032867de9d62dfb1cfb7cca557f7b (patch) | |
tree | ba305e54504c6b9dfec28b07bfa01a4713dcdcc9 /src/modules/extra | |
parent | c91aeb89d8f00cf45e372d0a61cbbb58b7d60e99 (diff) |
Don't try and kill off remote ssl users
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2861 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r-- | src/modules/extra/m_ssl_gnutls.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp index c0bc93c0e..a5c292736 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -196,9 +196,9 @@ class ModuleSSL : public Module { userrec* user = (userrec*)item; - if(user->GetExt("ssl") && isin(user->port, listenports)) + if(user->GetExt("ssl") && (user->fd > -1) && isin(user->port, listenports)) { - // User is using SSL, and they're using one of *our* SSL ports. + // User is using SSL, they're a local user, and they're using one of *our* SSL ports. // Potentially there could be multiple SSL modules loaded at once on different ports. log(DEBUG, "m_ssl_gnutls.so: Adding user %s to cull list", user->nick); culllist.AddItem(user, "SSL module unloading"); |