summaryrefslogtreecommitdiff
path: root/src/plugins/fset/fset-buffer.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-05-29 21:42:57 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-06-25 16:35:27 +0200
commit7ff3b517a8c7adee669d4f2c0fd9869db5b93d88 (patch)
treeb742af7bd73a64565e1cf44bc5258fe2587bf416 /src/plugins/fset/fset-buffer.c
parent13d280a67703c171206fff22ee27b1327b8ce951 (diff)
downloadweechat-7ff3b517a8c7adee669d4f2c0fd9869db5b93d88.zip
fset: fix execution of actions from fset buffer input
Diffstat (limited to 'src/plugins/fset/fset-buffer.c')
-rw-r--r--src/plugins/fset/fset-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fset/fset-buffer.c b/src/plugins/fset/fset-buffer.c
index 6f7b0f4bb..8810a077c 100644
--- a/src/plugins/fset/fset-buffer.c
+++ b/src/plugins/fset/fset-buffer.c
@@ -477,7 +477,7 @@ fset_buffer_input_cb (const void *pointer, void *data,
if (strcmp (input_data, actions[i][0]) == 0)
{
snprintf (str_command, sizeof (str_command),
- "/fset %s", actions[i][1]);
+ "/fset -%s", actions[i][1]);
weechat_command (buffer, str_command);
return WEECHAT_RC_OK;
}