Make it ignore DarkOK's screenshot thingy

Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2022-07-17 15:47:47 +03:00
parent 0c643698b8
commit 06c2f87cfc
Signed by untrusted user who does not match committer: ari
GPG key ID: A50D5B4B599AF8A2

View file

@ -795,7 +795,7 @@ class MessageParser:
@classmethod
def type_adduser(cls, content: List[str]) -> Tuple[str]:
if not content[1].startswith("guest"):
if not content[1].startswith("scrot"):
chatlog_entry("Joined", content[1], "JOIN")
if RANDOM.randint(0, 1000) == 420:
@ -806,7 +806,7 @@ class MessageParser:
@classmethod
def type_remuser(cls, content: List[str]) -> Tuple[str]:
if not content[1].startswith("guest"):
if not content[1].startswith("scrot"):
chatlog_entry("Left", content[1], "LEAVE")
if content[1] in AUTH["users"]: