Merge pull request 'Actually support CLIENTINFO' (#2) from 9pfs-patch-1 into master

Reviewed-on: https://git.amcforum.wiki/Firepup650/fire-ircbot/pulls/2
This commit is contained in:
Firepup Sixfifty 2023-11-05 01:57:14 +00:00
commit 9f1c060562

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