Commit f1fd906e authored by anonym's avatar anonym
Browse files

tor-controlport-filter: fix logic error so --complain allows all events.

parent e2524409
......@@ -245,7 +245,7 @@ def handle_controlport_session(controller, readh, writeh, allowed_commands, allo
for event in events:
rule = allowed_events[event] or {}
if not rule.get('suppress', False) or \
not global_args.disable_filtering:
global_args.disable_filtering:
controller.add_event_listener(
event_cb, getattr(stem.control.EventType, event)
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment