aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason2016-08-19 10:48:42 -0600
committerjason2016-08-19 10:48:42 -0600
commitc69288efc97dd9f2628036687a20e5aaaf51e159 (patch)
tree948a7818e8c33b420ffb07e1de578111c2449249
parentfb67f4a6e0c88134b5a60f1795a019579129f744 (diff)
downloadwarmachine-ng-c69288efc97dd9f2628036687a20e5aaaf51e159.tar.gz
warmachine-ng-c69288efc97dd9f2628036687a20e5aaaf51e159.zip
gawd
-rw-r--r--warmachine/connections/slack.py4
1 files 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):
112 destination)) 112 destination))
113 113
114 # slack doesn't allow bots to message other bots 114 # slack doesn't allow bots to message other bots
115 if '#' not in destination and (self.user_map[_user]['is_bot'] or\ 115 if '#' not in destination and (self.user_map[_user]['deleted'] or \
116 self.user_map[_user]['deleted']): 116 self.user_map[_user]['is_bot']):
117 return 117 return
118 118
119 destination = self.get_dm_id_by_user(_user) 119 destination = self.get_dm_id_by_user(_user)