diff options
author | Tollef Fog Heen <tfheen@err.no> | 2015-06-16 13:03:58 +0200 |
---|---|---|
committer | Tollef Fog Heen <tfheen@err.no> | 2015-06-16 13:03:58 +0200 |
commit | d9512d4ef7915367bd04554119be92f609f2e645 (patch) | |
tree | 738077bbf7b6c12f1f5b789c32da4d079da41f39 /wee_slack.py | |
parent | 4d79984ee9f6d5fa44b782b86fb48aa062713a01 (diff) | |
download | wee-slack-d9512d4ef7915367bd04554119be92f609f2e645.tar.gz |
Typo in process_channel_archive
process_channel_archive failed to look up the server before
referencing it, leading to backtraces.
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py index a88c9b3..455eaf4 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1124,6 +1124,7 @@ def process_channel_leave(message_json): def process_channel_archive(message_json): + server = servers.find(message_json["myserver"]) channel = server.channels.find(message_json["channel"]) channel.detach_buffer() |