Commit f39a8f7d authored by anonym's avatar anonym

tor-controlport-filter: log when event is alreadysubscribed to.

parent 20947dda
......@@ -367,6 +367,8 @@ def handle_controlport_session(controller, readh, writeh, client_desc, client_pi
_log("unsubscribed to event '{}'".format(event))
for event in events:
if any(event == event_ for _, event_ in subscribed_event_listeners):
if global_args.print_responses:
_log("already subscribed to '{}'".format(event))
continue
rule = allowed_events[event] or {}
if not rule.get('suppress', False) or \
......
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