diff options
| author | jason | 2016-08-19 10:48:42 -0600 |
|---|---|---|
| committer | jason | 2016-08-19 10:48:42 -0600 |
| commit | c69288efc97dd9f2628036687a20e5aaaf51e159 (patch) | |
| tree | 948a7818e8c33b420ffb07e1de578111c2449249 | |
| parent | fb67f4a6e0c88134b5a60f1795a019579129f744 (diff) | |
| download | warmachine-ng-c69288efc97dd9f2628036687a20e5aaaf51e159.tar.gz warmachine-ng-c69288efc97dd9f2628036687a20e5aaaf51e159.zip | |
gawd
| -rw-r--r-- | warmachine/connections/slack.py | 4 |
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) |