From 1fed44dcd8f82153fe1e17198d14a813d2ead0f4 Mon Sep 17 00:00:00 2001 From: Dpeta Date: Wed, 8 Jun 2022 00:19:56 +0200 Subject: [PATCH] more PESTERCHUM: values allowed --- irc.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/irc.py b/irc.py index b724058..049e61a 100644 --- a/irc.py +++ b/irc.py @@ -419,7 +419,12 @@ class PesterHandler(DefaultCommandHandler): # PESTERCHUM: syntax check if ((value == "BEGIN") or (value == "BLOCK") - or (value == "CEASE")): + or (value == "CEASE") + or (value == "BLOCK") + or (value == "BLOCKED") + or (value == "UNBLOCK") + or (value == "IDLE") + or (value == "ME")): # Process like it's a PESTERCHUM: PRIVMSG msg = "PESTERCHUM:" + value self.privmsg(prefix, args[0], msg)