From e6d54db9ce8d916b6629c61e970b1f3f1fc2db94 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 17 Mar 2024 10:12:55 +0100 Subject: [PATCH] Fix chkNS on recent hybrid Since https://github.com/ircd-hybrid/ircd-hybrid/commit/e66f61f8a070ed6a0ab04883b54f25473f8722e9 (which is itself a fix for https://github.com/ircd-hybrid/ircd-hybrid/commit/79c4eb8d75d888e1290406ae71e16357a1c5311a), Hybrid sends this numeric right after the MOTD --- irctest/basecontrollers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/irctest/basecontrollers.py b/irctest/basecontrollers.py index 699ec3c..1fcfd25 100644 --- a/irctest/basecontrollers.py +++ b/irctest/basecontrollers.py @@ -372,6 +372,8 @@ class BaseServicesController(_BaseController): pass elif msg.command in ("MODE", "221"): # RPL_UMODEIS pass + elif msg.command == "396": # RPL_VISIBLEHOST + pass elif msg.command == "NOTICE": assert msg.prefix is not None if "!" not in msg.prefix and "." in msg.prefix: