summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-11-10 07:58:11 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-11-10 07:58:11 +0000
commit6729d8d6f2b9bf48238580484a2e5a93d856323c (patch)
tree1db61e6b74507f860d33aca9601c76779e245e34 /src/plugins
parent045ceb961fd8af1f0c7e65914e55125956df8317 (diff)
downloadweechat-6729d8d6f2b9bf48238580484a2e5a93d856323c.zip
Fixed minor bug with /setp when no value is given and that option does not exist
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/plugins-config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/plugins-config.c b/src/plugins/plugins-config.c
index 833d47536..62e1b4653 100644
--- a/src/plugins/plugins-config.c
+++ b/src/plugins/plugins-config.c
@@ -188,6 +188,8 @@ plugin_config_set_internal (char *option, char *value)
return 1;
}
}
+ else
+ return 1;
}
/* failed to set plugin option */