aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorV13Axel <alex@stechstudio.com>2017-04-17 14:05:03 -0400
committerV13Axel <alex@stechstudio.com>2017-04-17 14:05:03 -0400
commit8e59ca670cfc417c412449077784ddd662c9fda5 (patch)
treeff46b68dd584aa58d22553abb4cfd831ce29d765 /wee_slack.py
parentaf0e8b2d0139e0445786546700e1545a28a64711 (diff)
downloadwee-slack-8e59ca670cfc417c412449077784ddd662c9fda5.tar.gz
Remove redundant team reference retrieval
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 2caf66c..ef41c6f 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2780,7 +2780,6 @@ def command_status(data, current_buffer, args):
profile = {"status_text":text,"status_emoji":emoji}
- team = EVENTROUTER.weechat_controller.buffers[current_buffer].team
s = SlackRequest(team.token, "users.profile.set", {"profile": profile}, team_hash=team.team_hash, channel_identifier=channel.identifier)
EVENTROUTER.receive(s)