diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2022-01-30 16:51:22 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2022-09-17 18:56:26 +0200 |
commit | 623426e39f067d1c256ca3115bb33a8ba4af5581 (patch) | |
tree | 6ff3204bc8c1967fb9d8bc4befa8cd1b20f7a02f /wee_slack.py | |
parent | ac32fc7c758ebec594bf774c5b991cf544242c13 (diff) | |
download | wee-slack-623426e39f067d1c256ca3115bb33a8ba4af5581.tar.gz |
Remove empty hook_process_hashtable calls
I don't think these are necessary. I've not experienced any errors
after removing them.
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/wee_slack.py b/wee_slack.py index eff957d..1fd4af1 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -926,8 +926,6 @@ def local_process_async_slack_api_request(request, event_router): params = {"useragent": "wee_slack {}".format(SCRIPT_VERSION)} request.tried() context = event_router.store_context(request) - # TODO: let flashcode know about this bug - i have to 'clear' the hashtable or retry requests fail - w.hook_process_hashtable("url:", params, config.slack_timeout, "", context) w.hook_process_hashtable( weechat_request, params, @@ -5180,7 +5178,6 @@ def command_register(data, current_buffer, args): "client_id={}&client_secret={}&redirect_uri={}&code={}" ).format(CLIENT_ID, CLIENT_SECRET, redirect_uri, code) params = {"useragent": "wee_slack {}".format(SCRIPT_VERSION)} - w.hook_process_hashtable("url:", params, config.slack_timeout, "", "") w.hook_process_hashtable( "url:{}".format(uri), params, config.slack_timeout, "register_callback", "" ) |