diff options
author | Ben Harris <ben@tilde.team> | 2021-02-19 10:00:12 -0500 |
---|---|---|
committer | Ben Harris <ben@tilde.team> | 2021-02-19 10:00:12 -0500 |
commit | b46e6e06f8504de7348e6ab1255dec7d0974fa01 (patch) | |
tree | f6eb86fb6556e146429accd13343e7160076ef04 /tooter.py | |
parent | d0ce7765724959d469921ac89b9992e4880d2b6f (diff) |
adjust message condition order
Diffstat (limited to 'tooter.py')
-rw-r--r-- | tooter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tooter.py b/tooter.py index 33b57f8..f34209b 100644 --- a/tooter.py +++ b/tooter.py @@ -92,10 +92,10 @@ class Server(BaseServer): if ( line.command == "PRIVMSG" and self.has_channel(line.params[0]) + and self.has_user(line.hostmask.nickname) and not line.hostmask is None and not self.casefold(line.hostmask.nickname) == self.nickname_lower and not ("batch" in line.tags and line.tags["batch"] == "1") - and self.has_user(line.hostmask.nickname) ): response = think(line) if response is not None: |