Commit 964be208 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Use "abort_on_unknown" when a bad message is received

This will stop filters without stopping the entire runner.
parent ddb44f8f
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ class Runner:
		Return an awaitable that starts and coordinates filters
		"""
		buff = SimpleBuffer(1*MiB)
		proto = FilterProtocol()
		proto = FilterProtocol(abort_on_unknown=True)
		sender = _sender(client, proto)
		macro: Macro|None = None
		aborted = False