summaryrefslogtreecommitdiff
path: root/src/modules/m_sslinfo.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-05-03 00:49:52 +0100
committerSadie Powell <sadie@witchery.services>2021-05-03 00:51:12 +0100
commitde648cb16dadb5274786b48a061e929ab2f67aa0 (patch)
tree8d2199fcbd131821c8b201d1cee38c31a75d3d6c /src/modules/m_sslinfo.cpp
parentb4a174ee9c32d62ea6bf010e837e8c5b1c3d36a3 (diff)
Skip clients on ulined servers in SSLINFO <#chan>.
Diffstat (limited to 'src/modules/m_sslinfo.cpp')
-rw-r--r--src/modules/m_sslinfo.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp
index 5b22a97b4..ae3d2b7b6 100644
--- a/src/modules/m_sslinfo.cpp
+++ b/src/modules/m_sslinfo.cpp
@@ -222,7 +222,10 @@ class CommandSSLInfo : public SplitCommand
const Channel::MemberMap& userlist = chan->GetUsers();
for (Channel::MemberMap::const_iterator i = userlist.begin(); i != userlist.end(); ++i)
- HandleUserInternal(source, i->first, false);
+ {
+ if (!i->first->server->IsULine())
+ HandleUserInternal(source, i->first, false);
+ }
return CMD_SUCCESS;
}