adjust message condition ordering
This commit is contained in:
parent
dc27ffe14a
commit
8b5bd04573
|
@ -158,11 +158,11 @@ 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 not "inspircd.org/bot" in line.tags
|
||||
and self.has_user(line.hostmask.nickname)
|
||||
):
|
||||
try:
|
||||
response = think(line)
|
||||
|
|
Loading…
Reference in New Issue