summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-23 15:09:50 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-23 15:09:50 +0000
commitfc5254e227d55c44b3b5beb08a6b81617cc65eeb (patch)
treed6622a436b2b19bc698d888c9dffc31474d75d63
parentf19e2c85e77032867de9d62dfb1cfb7cca557f7b (diff)
Use IS_LOCAL() macro
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2862 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index a5c292736..a3c1c70cd 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -196,7 +196,7 @@ class ModuleSSL : public Module
{
userrec* user = (userrec*)item;
- if(user->GetExt("ssl") && (user->fd > -1) && isin(user->port, listenports))
+ if(user->GetExt("ssl") && IS_LOCAL(user) && isin(user->port, listenports))
{
// 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.