3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 21:19:31 +01:00

nefarious: handle VERSION requests

This commit is contained in:
James Lu 2016-04-18 10:55:05 -07:00
parent 81d2450460
commit 560311a98b

View File

@ -1257,5 +1257,9 @@ class P10Protocol(Protocol):
self.checkCloakChange(target)
# We don't need to send any hooks here, checkCloakChange does that for us.
def handle_version(self, numeric, command, args):
# <- ABAAA V :Ay
"""Handles requests for the PyLink server version."""
return {} # See coreplugin.py for how this hook is used
Class = P10Protocol