aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2017-02-23 09:16:03 -0800
committerRyan Huber <rhuber@gmail.com>2017-02-23 09:16:03 -0800
commit965eac76e523b11c73470e7971c3a0acdac56ec3 (patch)
tree21a67142fd015cb7c6df2c5440ddf14527eac5fb
parent17ad47f47a5e84901f928e558baca151a0c3f27a (diff)
downloadwee-slack-965eac76e523b11c73470e7971c3a0acdac56ec3.tar.gz
remove unnecessary check
-rw-r--r--wee_slack.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index bee0c12..cb746ce 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2642,7 +2642,6 @@ def command_distracting(data, current_buffer, args):
config.distracting_channels.pop(config.distracting_channels.index(fullname))
save_distracting_channels()
-@slack_buffer_required
def save_distracting_channels():
w.config_set_plugin('distracting_channels', ','.join(config.distracting_channels))