Software /
code /
clix
Changeset
87:a93406de9f0f
clix.lua: Log nothing when --quiet
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 30 Jun 2012 00:58:52 +0200 |
parents | 86:12939dcba0f2 |
children | 88:2c2e241e68df |
files | clix.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/clix.lua Sat Jun 30 00:43:21 2012 +0200 +++ b/clix.lua Sat Jun 30 00:58:52 2012 +0200 @@ -58,7 +58,7 @@ io.stderr:write("The specified account (", opts.account or "default", ") wasn't found in the config file\n"); return nil; end - verse.set_log_handler(io.stderr, not opts.verbose and {"info", "error"}); + verse.set_log_handler(io.stderr, opts.quiet and {} or not opts.verbose and {"info", "error"}); local conn = verse.new(); for _, plugin in ipairs(plugins or {}) do conn:add_plugin(plugin);