aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index cca88a6..8e872d2 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2616,8 +2616,8 @@ def label_command_cb(data, current_buffer, args):
new_name = " +" + aargs[1]
w.buffer_set(channel.channel_buffer, "short_name", new_name)
-@slack_buffer_required
def command_p(data, current_buffer, args):
+ args = args.split(' ', 1)[1]
w.prnt("", "{}".format(eval(args)))
###### NEW EXCEPTIONS