aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2022-10-24 02:20:10 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:52 +0100
commit4ec66caeecfa91c7fd1b36291da9f5b9a17a7d02 (patch)
tree6fd4263c52ae83393568f25560e6c5aaa5f6150e
parent1bb1a7e6f80c11379b617ae700f9509882d3ed9d (diff)
downloadwee-slack-4ec66caeecfa91c7fd1b36291da9f5b9a17a7d02.tar.gz
Don't hard code the shutdown_cb name
-rw-r--r--slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slack.py b/slack.py
index 2fea01e..460f355 100644
--- a/slack.py
+++ b/slack.py
@@ -649,7 +649,7 @@ if __name__ == "__main__":
SCRIPT_VERSION,
SCRIPT_LICENSE,
SCRIPT_DESC,
- "shutdown_cb",
+ shutdown_cb.__name__,
"",
):
weechat_version = int(weechat.info_get("version_number", "") or 0)