From c69288efc97dd9f2628036687a20e5aaaf51e159 Mon Sep 17 00:00:00 2001 From: jason Date: Fri, 19 Aug 2016 10:48:42 -0600 Subject: gawd --- warmachine/connections/slack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/warmachine/connections/slack.py b/warmachine/connections/slack.py index deb0a8e..5556abd 100644 --- a/warmachine/connections/slack.py +++ b/warmachine/connections/slack.py @@ -112,8 +112,8 @@ class SlackWS(Connection): destination)) # slack doesn't allow bots to message other bots - if '#' not in destination and (self.user_map[_user]['is_bot'] or\ - self.user_map[_user]['deleted']): + if '#' not in destination and (self.user_map[_user]['deleted'] or \ + self.user_map[_user]['is_bot']): return destination = self.get_dm_id_by_user(_user) -- cgit v1.2.1