From 11202905395b72a50dcb767e3cec14678988d734 Mon Sep 17 00:00:00 2001 From: Dpeta Date: Sun, 5 Jun 2022 01:28:00 +0200 Subject: [PATCH] simple server RPL_ISUPPORT log --- irc.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/irc.py b/irc.py index da3a8fd..3f89ae9 100644 --- a/irc.py +++ b/irc.py @@ -516,7 +516,15 @@ class PesterHandler(DefaultCommandHandler): except socket.error as e: PchumLog.warning(e) self.parent.setConnectionBroken() - + + def featurelist(self, target, handle, *params): + # RPL_ISUPPORT + features = params[:-1] + PchumLog.info("Server featurelist: " + str(features)) + # for x in features: + # if x.upper().startswith("METADATA"): + # print("True") + # self.metadata_supported = True def nicknameinuse(self, server, cmd, nick, msg): newnick = "pesterClient%d" % (random.randint(100,999))