aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index e1481d3..ceb9adf 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -993,7 +993,7 @@ def nick_completion_cb(data, completion_item, current_buffer, completion):
for member in current_channel.members:
user = current_channel.team.users.get(member)
- if user:
+ if user and not user.deleted:
w.hook_completion_list_add(completion, "@" + user.name, 1, w.WEECHAT_LIST_POS_SORT)
return w.WEECHAT_RC_OK