Actually support CLIENTINFO

Closes #1
This commit is contained in:
9pfs 2023-11-05 01:44:45 +00:00
parent aedffec6ac
commit c993a4495c

View file

@ -156,7 +156,7 @@ def CTCPHandler(msg: str, sender: str = "", isRaw: bool = False):
notice("\x01FINGER Firepup's bot\x01", sender, True) notice("\x01FINGER Firepup's bot\x01", sender, True)
return True return True
elif CTCP == "CLIENTINFO": elif CTCP == "CLIENTINFO":
notice("\x01CLIENTINFO ACTION VERSION USERINFO SOURCE FINGER", sender, True) notice("\x01CLIENTINFO ACTION VERSION USERINFO SOURCE FINGER\x01", sender, True)
return True return True
log(f"Unknown CTCP {CTCP}", server) log(f"Unknown CTCP {CTCP}", server)
return False return False