3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-01-07 10:42:48 +01:00

inspircd: track SSL/TLS status of remote users

This commit is contained in:
James Lu 2020-10-19 14:03:35 -07:00
parent 8ee0f3fdab
commit cc2298d0be

View File

@ -986,6 +986,8 @@ class InspIRCdProtocol(TS6BaseProtocol):
self._modsupport.add(module[1:])
else:
log.warning('(%s) Got unknown METADATA modules string: %r', self.name, args[-1])
elif args[1] == 'ssl_cert' and uid in self.users:
self.users[uid].ssl = True
def handle_version(self, numeric, command, args):
"""